Package io.jmix.security.model
Class ResourceRole.ResourcePoliciesIndex
java.lang.Object
io.jmix.security.model.ResourceRole.ResourcePoliciesIndex
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ResourceRole
A data structure that stores role policies grouped by policy type and resource. It simplifies operations like
extracting policies for entity access for a sec_User entity.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetPoliciesByType
(String policyType) Returns policies of the specified type.getPoliciesByTypeAndResource
(String policyType, String resource) Returns a list of policies of the specified type and resource.
-
Method Details
-
getPoliciesByTypeAndResource
Returns a list of policies of the specified type and resource. -
getPoliciesByType
Returns policies of the specified type.
-