Interface SecureOperations

All Known Implementing Classes:
SecureOperationsImpl

public interface SecureOperations
Provides methods to check permissions of the current user.
  • Method Details

    • isEntityCreatePermitted

      boolean isEntityCreatePermitted(MetaClass metaClass, PolicyStore policyStore)
      Check if the current user has a permission to create the entity specified by the given meta-class.
    • isEntityReadPermitted

      boolean isEntityReadPermitted(MetaClass metaClass, PolicyStore policyStore)
      Check if the current user has a permission to read the entity specified by the given meta-class.
    • isEntityUpdatePermitted

      boolean isEntityUpdatePermitted(MetaClass metaClass, PolicyStore policyStore)
      Check if the current user has a permission to update the entity specified by the given meta-class.
    • isEntityDeletePermitted

      boolean isEntityDeletePermitted(MetaClass metaClass, PolicyStore policyStore)
      Check if the current user has a permission to delete the entity specified by the given meta-class.
    • isEntityAttrReadPermitted

      boolean isEntityAttrReadPermitted(MetaPropertyPath propertyPath, PolicyStore policyStore)
      Check if the current user has a permission to read the entity attribute specified by the given meta-property path.
    • isEntityAttrUpdatePermitted

      boolean isEntityAttrUpdatePermitted(MetaPropertyPath propertyPath, PolicyStore policyStore)
      Check if the current user has a permission to update the entity attribute specified by the given meta-property path.
    • isSpecificPermitted

      boolean isSpecificPermitted(String resourceName, PolicyStore policyStore)
      Check if the current user has the given specific permission.
    • isGraphQLPermitted

      boolean isGraphQLPermitted(String resourceName, PolicyStore policyStore)
      Check if the current user has a permission to the given GraphQL resource.