-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1 EE SP5 (5.1.8), 5.2 EE SP5 (5.2.9) , 6.0 EE SP1 (6.0.11)
-
Fix Version/s: 5.1 EE SP6 (5.1.9), 5.2 EE SP6 (5.2.10), 6.0 EE SP2 (6.0.12)
-
Component/s: Legacy Components > API
-
Labels:None
The following method has been added to RoleLocalServiceUtil:
public static List<Role> getResourceRoles(long companyId, String name, int scope, String primKey, String actionId)
The new method allows roles to be retrieved based on resource and actionId.
Note: This method only works when using permission algorithm 6.
- is related to
-
LPS-14252 Add ability to retrieve roles based on resource and actionId
- Closed