Class PathSearchContext.SelectorPermissionEvaluator

java.lang.Object
ch.tocco.nice2.rest.entity.impl.search.PathSearchContext.SelectorPermissionEvaluator
Enclosing class:
PathSearchContext

public static class PathSearchContext.SelectorPermissionEvaluator extends Object
For paths ending with a selector always set writable flag to true This allows creation of new entities using "selector" relations e.g. relAddress_user[publication] or relRegistration[new] If a "selector" target exists, the relations / fields will be checked separately e.g. - relAddress_user[publication] - writeable = true (due to this permission evaluator) - relAddress_user[publication].editable - writeable = false (as the user has no access rights to the actual entity) - relAddress_user[publication].relAddress - writeable = false - relAddress_user[publication].relAddress.company_c - writeable = false
  • Constructor Details

    • SelectorPermissionEvaluator

      public SelectorPermissionEvaluator()
  • Method Details