observe_acl_context_authenticated/2
Set the context to a typical authenticated user. Used by m_acl.erl
observe_acl_logoff/2
Clear the associated access policy for the context.
observe_acl_is_allowed/2
Check if a user is authorized to perform an operation on a an object (some resource or module). Observe this notification to do complex or more fine-grained…
observe_acl_is_allowed_prop/2
Check if a user is authorizded to perform an action on a property. Defaults to true .
observe_acl_is_owner/2
Check if a user is the owner of a resource. id is the resource id.
observe_acl_logon/2
Initialize context with the access policy for the user.
acl_mqtt
MQTT acl check, called via the normal acl notifications. Actions for these checks: subscribe, publish
observe_acl_user_groups/2
Return the groups for the current user.
observe_acl_user_groups_modify/3
Modify the list of user groups of a user. Called internally by the ACL modules when fetching the list of user groups a user is member of.
observe_acl_collab_groups_modify/3
Modify the list of collaboration groups of a user. Called internally by the ACL modules when fetching the list of collaboration groups a user is member of.

Notifications Authentication notifications

Referred by

Access control

Access control is about defining who is allowed to access certain resources. It takes two steps: