Solved

RDM restricting publish rights based on the current user

  • 20 April 2023
  • 3 replies
  • 51 views

Userlevel 1
Badge +1
  • 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.  

icon

Best answer by AKislyakov 21 April 2023, 08:15

View original

3 replies

Userlevel 4
Badge +4

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. 

Userlevel 1
Badge +1

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..

Userlevel 4
Badge +4

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

Reply