observe_acl_is_owner/2

Check if a user is the owner of a resource. id is the resource id.

Type:

first

Return:

true, false or undefined to let the next observer decide

#acl_is_owner{} properties:

  • id: m_rsc:resource_id()

  • creator_id: m_rsc:resource_id()

  • user_id: m_rsc:resource_id()

Edit on GitHub