How to hide actions from Action menu based on roles - New Project Workspace

PatriciaA987250
Tera Expert

Hi 

i would like to hide some of the actions from Action menu based on roles in the New Project Workspace. Basically i just want admin to view/access actions like  Copy project, Export project, Launch help video, Migrate resource plans, Copy partial project. Should the changes apply through system definition > ui action (sys_ui_action.list)  or new experience framework > declarative actions > action configs >Project Workspace action config (sys_ux_action_config.list). I also noticed the Copy partial project not present Project Workspace action config.

Please advise and provide step by step guide to achieve this.  Thank you

 

1 ACCEPTED SOLUTION

palanikumar
Mega Sage

Hi,

 

I think they are under UI Actions. You can add below condition in the UI Action to restrict only for Admin

gs.hasRole("admin")

 

Thank you,

Palani

Thank you,
Palani

View solution in original post

2 REPLIES 2

palanikumar
Mega Sage

Hi,

 

I think they are under UI Actions. You can add below condition in the UI Action to restrict only for Admin

gs.hasRole("admin")

 

Thank you,

Palani

Thank you,
Palani

Hi Palani,

Thank you for the input. I investigated further and discovered that some actions are categorized under UI actions, while others fall under declarative actions.