I have a view and I would like to have a button that duplicates the entry which should be available only to specific roles..
The button shoud be visible under role conditions..
How can this be done?
Thank you!
Without doing anything, the form permissions can be defined to limit by role. So even if someone sees a button, it doesn't mean they can interact with the form. If you don't like the visual, you'll have to incorporate custom code or a plugin. If you go the plugin route, try members -> https://members-plugin.com/docs/shortcodes/
With the plugin you can wrap content up in a shortcode and limit it's visibility based on role among other things. Something like:
[members_access role="editor"]Hide this content from everyone but editors.[/members_access]
Please login or Register to submit your answer