Skip to main content
Solved

RDM restricting publish rights based on the current user

  • April 20, 2023
  • 3 replies
  • 66 views

Forum|alt.badge.img+2
  • Data Voyager
  • 4 replies

Hi,

   Is it possible to stop someone Publishing a row if they are the ones who “Moved it to Publish”?

 

A team want the ability for all its members to create, edit and publish but restrict an individual team member from publishing a row they create or edit. Those rows would need to be published by another team member.  

Best answer by AKislyakov

Not an ideal solution: you can divide your team to two groups and create a workflow on the table that would require an approval from both groups. This way, anyone will be able to create/edit/publish records, but to move it to the publish state will need approval from the other part of the team. 

3 replies

Forum|alt.badge.img+2
  • Ataccamer
  • 174 replies
  • Answer
  • April 21, 2023

Not an ideal solution: you can divide your team to two groups and create a workflow on the table that would require an approval from both groups. This way, anyone will be able to create/edit/publish records, but to move it to the publish state will need approval from the other part of the team. 


Forum|alt.badge.img+2
  • Author
  • Data Voyager
  • 4 replies
  • April 21, 2023

Thank you that’s worth considering. Could I use a Publish Row Filter e.g. “[ Username ]” != current user .. except I’m not sure what variable holds the current user..


Forum|alt.badge.img+2
  • Ataccamer
  • 174 replies
  • April 24, 2023

You can get current user using getParameterValue(“security.user”). Yet I doubt it will work in this context.