Announcement

Collapse
No announcement yet.

Custom Access Checker

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom Access Checker

    Hello
    how to add custom Access Chceker for my custom entity?
    I've created Access Chcker file in custom/Espo/Custom/Classes/Acl/Dictionary.php, then I've added "accessCheckerClassName": "Espo\\Custom\\Classes\\Acl\\Dictionary" entry to custom/Espo/Custom/Resources/metadata/aclDefs/Dictionary.json.
    I've rebuilded and when trying to refresh the page I received error "InjectableFactory: Class 'Espo\Custom\Classes\Acl\Dictionary' does not exist."
    What path to Access Checker should look like?

  • #2
    Moved file to "Espo\\Custom\\Classes\\Acl\\{entityName}\\AccessC hecker" resolved the problem. I'm not sure if wrong path was a problem but now it works.

    Comment

    Working...
    X