Skip to content
Zotonic
  • Start
  • Guides
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Notifications
  • Reference
  • Backend developer
  • Surveys
  • Authorization and access control
  • Notification
  • Authorize

observe_survey_is_allowed_results_download/2

Check if the current user is allowed to download a survey.

Type:

first

Return:

true, false or undefined

#survey_is_allowed_results_download{} properties:

  • id: m_rsc:resource_id()

Edit on GitHub

Related documentation

Notifications

observe_acl_max_upload_size/2

Return the maximum upload size in bytes for the current user, as defined by the ACL configuration.

Notifications

observe_acl_is_allowed_prop/2

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

Notifications

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.

Notifications

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…

Notifications

observe_acl_user_groups/2

Return the groups for the current user.

Notifications

observe_acl_context_authenticated/2

Set the context to a typical authenticated user. Used by m_acl.erl

Notifications

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…

Notifications

observe_user_is_enabled/2

Check if a user is enabled. Enabled users are allowed to log in. Return true , false or undefined . If undefined is returned, the user is…

Notifications

observe_acl_is_owner/2

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

GitHub © 2026 Zotonic