Package io.jmix.security.constraint
Interface SecureOperations
- All Known Implementing Classes:
- SecureOperationsImpl
public interface SecureOperations
Provides methods to check permissions of the current user.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisEntityAttrReadPermitted(MetaPropertyPath propertyPath, PolicyStore policyStore) Check if the current user has a permission to read the entity attribute specified by the given meta-property path.booleanisEntityAttrUpdatePermitted(MetaPropertyPath propertyPath, PolicyStore policyStore) Check if the current user has a permission to update the entity attribute specified by the given meta-property path.booleanisEntityCreatePermitted(MetaClass metaClass, PolicyStore policyStore) Check if the current user has a permission to create the entity specified by the given meta-class.booleanisEntityDeletePermitted(MetaClass metaClass, PolicyStore policyStore) Check if the current user has a permission to delete the entity specified by the given meta-class.booleanisEntityReadPermitted(MetaClass metaClass, PolicyStore policyStore) Check if the current user has a permission to read the entity specified by the given meta-class.booleanisEntityUpdatePermitted(MetaClass metaClass, PolicyStore policyStore) Check if the current user has a permission to update the entity specified by the given meta-class.booleanisGraphQLPermitted(String resourceName, PolicyStore policyStore) Check if the current user has a permission to the given GraphQL resource.booleanisSpecificPermitted(String resourceName, PolicyStore policyStore) Check if the current user has the given specific permission.
- 
Method Details- 
isEntityCreatePermittedCheck if the current user has a permission to create the entity specified by the given meta-class.
- 
isEntityReadPermittedCheck if the current user has a permission to read the entity specified by the given meta-class.
- 
isEntityUpdatePermittedCheck if the current user has a permission to update the entity specified by the given meta-class.
- 
isEntityDeletePermittedCheck if the current user has a permission to delete the entity specified by the given meta-class.
- 
isEntityAttrReadPermittedCheck if the current user has a permission to read the entity attribute specified by the given meta-property path.
- 
isEntityAttrUpdatePermittedCheck if the current user has a permission to update the entity attribute specified by the given meta-property path.
- 
isSpecificPermittedCheck if the current user has the given specific permission.
- 
isGraphQLPermittedCheck if the current user has a permission to the given GraphQL resource.
 
-