Package io.jmix.uiconstraints.security
Interface CurrentUserRolesProvider
- All Known Implementing Classes:
CurrentUserRolesProviderImpl
public interface CurrentUserRolesProvider
Interface for obtaining the current user's roles.
-
Method Summary
Modifier 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
-
getCurrentUserResourceRoles
List<ResourceRole> getCurrentUserResourceRoles()Retrieves the list of resource roles assigned to the current user.- Returns:
- a list of
ResourceRole
-
getCurrentUserRowLevelRoles
List<RowLevelRole> getCurrentUserRowLevelRoles()Retrieves the list of row-level roles assigned to the current user.- Returns:
- a list of
RowLevelRole
-