Package io.jmix.uiconstraints.security
Interface CurrentUserRolesProvider
- All Known Implementing Classes:
- CurrentUserRolesProviderImpl
public interface CurrentUserRolesProvider
Interface for obtaining the current user's roles.
- 
Method SummaryModifier and TypeMethodDescriptionRetrieves the list of resource roles assigned to the current user.Retrieves the list of row-level roles assigned to the current user.
- 
Method Details- 
getCurrentUserResourceRolesList<ResourceRole> getCurrentUserResourceRoles()Retrieves the list of resource roles assigned to the current user.- Returns:
- a list of ResourceRole
 
- 
getCurrentUserRowLevelRolesList<RowLevelRole> getCurrentUserRowLevelRoles()Retrieves the list of row-level roles assigned to the current user.- Returns:
- a list of RowLevelRole
 
 
-