Interface TypePermissionService
- All Known Implementing Classes:
DefaultTypePermissionService
public interface TypePermissionService
This Service is a facade for
AccessRightsService. Allows for permission checks for TypeDescriptor types.-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckReadPermission(TypeDescriptor typeDescriptor) Checks if the current user can read the type within theTypeDescriptor.
-
Method Details
-
checkReadPermission
Checks if the current user can read the type within theTypeDescriptor. The implementation may throw aRuntimeExceptionif the user does not have the read permission for the type within the TypeDescriptor.- Parameters:
typeDescriptor- to check permissions for model within it
-