Package io.jmix.security.model
Class RowLevelRole
java.lang.Object
io.jmix.security.model.BaseRole
io.jmix.security.model.RowLevelRole
Class is a container for security row level policies.
Row-level policy restrict which data a user can read or modify.
Role objects may be created from different sources:
- from interfaces annotated with
RowLevelRole
- from database Role entities
- created explicitly by the application
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAllRowLevelPolicies
(Collection<RowLevelPolicy> allRowLevelPolicies) void
setRowLevelPolicies
(Collection<RowLevelPolicy> rowLevelPolicies) Methods inherited from class io.jmix.security.model.BaseRole
getChildRoles, getCode, getCustomProperties, getDescription, getName, getSource, getTenantId, setChildRoles, setCode, setCustomProperties, setDescription, setName, setSource, setTenantId
-
Constructor Details
-
RowLevelRole
public RowLevelRole()
-
-
Method Details
-
getRowLevelPolicies
-
setRowLevelPolicies
-
getAllRowLevelPolicies
-
setAllRowLevelPolicies
-