observe_acl_is_allowed_prop/2

Check if a user is authorizded to perform an action on a property. Defaults to true.

Type:

first

Return:

true to grant access, false to deny it, undefined to let the next observer decide

#acl_is_allowed_prop{} properties:

  • action: view|update|delete|insert|atom

  • object: term

  • prop: binary

Edit on GitHub