Package io.jmix.graphql.datafetcher
Class PermissionDataFetcher
java.lang.Object
io.jmix.graphql.datafetcher.PermissionDataFetcher
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
protected static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getEntityAttributeTarget
(MetaClass metaClass, MetaProperty metaProperty) protected String
getEntityTarget
(MetaClass metaClass, String operation) protected PermissionConfig
getPermissions
(boolean entities, boolean entityAttrs, boolean specifics) graphql.schema.DataFetcher<?>
-
Field Details
-
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
-
PermissionDataFetcher
public PermissionDataFetcher()
-
-
Method Details
-
loadPermissions
public graphql.schema.DataFetcher<?> loadPermissions() -
getPermissions
-
getEntityTarget
-
getEntityAttributeTarget
-