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 Details

    • checkReadPermission

      void checkReadPermission(TypeDescriptor typeDescriptor)
      Checks if the current user can read the type within the TypeDescriptor. The implementation may throw a RuntimeException if the user does not have the read permission for the type within the TypeDescriptor.
      Parameters:
      typeDescriptor - to check permissions for model within it