Discussion
Cognizant Technology Solutions
GB
Last activity: 5 Oct 2015 10:09 EDT
Privilege and Access Roles
@evaluatePrivilege(tools,”Privilege_name”,Class_Name,mysteppage)
@evaluatePrivilege(tools,”Privilege_Ajg”,FPL-SaleFW-Work,mysteppage)
This expression is used to evaluate the privilege of a user for accessing a certain rule in a when condition usually. But when i open up the privilege(Privilege_Ajg) , I find several roles like abc: developer, abc: senior developer, xyz: admin etc., with different classes. When I open up each of these roles,I can find each of them contains Privilege_Ajg privilege with different levels like 1,2,3..etc uptill 5.
So my question is what is the function of the class name FPL-SaleFW-Work in the guven expression. Like i can guess two options
A) the above expresion will evaluate or check the privilege of those roles only, which are in FPL-SaleFW-Work
B) the above expression will evaluate all the roles and return the level of the particular privilege “Privilege_Ajg” on the mystepage page defined in FPL-SaleFW-Work class.