New Experience Project Workspace - Resource Status Column

Emily Crofts
Tera Contributor

How do you make the Resource Status Column read only for project managers but not for Resource Managers.

 

EmilyHoover_0-1721234512595.png

 

1 REPLY 1

Saiganeshraja
Kilo Sage
Kilo Sage

Create access control  and make sure application scope is also as below.

 

Saiganeshraja_0-1721503146288.png

Advanced:

 

//This return true only when the user has exact role as resource manager 

var roles= gs.getUser().getUserRoles().toString();

if(roles.includes('resource_manager'))
{
answer = true;
}
else{
answer= false;
}

 Mark correct and helpful.