Class PermissionDataFetcher

java.lang.Object
io.jmix.graphql.datafetcher.PermissionDataFetcher

@Component("gql_PermissionDataFetcher") public class PermissionDataFetcher extends Object
  • 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

      protected PermissionConfig getPermissions(boolean entities, boolean entityAttrs, boolean specifics)
    • getEntityTarget

      protected String getEntityTarget(MetaClass metaClass, String operation)
    • getEntityAttributeTarget

      protected String getEntityAttributeTarget(MetaClass metaClass, MetaProperty metaProperty)