Package io.jmix.rest.impl.service
Class PermissionsControllerManager
java.lang.Object
io.jmix.rest.impl.service.PermissionsControllerManager
@Component("rest_PermissionsControllerManager")
public class PermissionsControllerManager
extends Object
Class is used for getting current user permissions for the REST API. It contains a business logic required by the
PermissionsController
-
Field Summary
Modifier and TypeFieldDescriptionprotected AccessManager
protected static final int
protected CurrentUserSubstitution
protected Metadata
protected static final int
protected SpecificPolicyInfoRegistry
protected static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getEntityAttributeTarget
(MetaClass metaClass, MetaProperty metaProperty) protected String
getEntityTarget
(MetaClass metaClass, String operation)
-
Field Details
-
metadata
-
accessManager
-
currentUserSubstitution
-
specificPolicyInfoRegistry
-
ALLOWED_CRUD_PERMISSION
protected static final int ALLOWED_CRUD_PERMISSION- See Also:
-
VIEW_ATTRIBUTE_PERMISSION
protected static final int VIEW_ATTRIBUTE_PERMISSION- See Also:
-
MODIFY_ATTRIBUTE_PERMISSION
protected static final int MODIFY_ATTRIBUTE_PERMISSION- See Also:
-
-
Constructor Details
-
PermissionsControllerManager
public PermissionsControllerManager()
-
-
Method Details
-
getPermissions
-
getEntityTarget
-
getEntityAttributeTarget
-