Is there a good way to conditionally render a section based on a users access or privileges.
I’m trying to prevent certain users from seeing the “Actions” and “Edit” dropdown and button in the assignment view, but I haven’t found a good way to do so. I know I can add privileges to the individual buttons, but was wondering if I could apply the same kind of logic to an entire section.
Hi @DevinD16607791: You can add privileges to the sections when you are embedding them in a flowaction/ harness/ in another section. There will be option for you to mention a visibility condition / privilege. Please let me know if this helps.
You can also add privileges to the flow action rule itself in security tab.
Hi @DevinD16607791: Thanks for highlighting this. Further analysis shows that there is some issue when using privileges in a section which is built using design template. You may need to raise a support request for the same.
Meanwhile instead of hardcoding the access group, you can still check the privilege in the when rule using HavePrivilege RUF.
Suggestion: It is recommended to add the Privilege in the respective flow action too.