mod_content_groups

Module for content group support and ACL-aware content group behavior.

Accepted Events

This module handles the following notifier callbacks:

  • observe_admin_menu: Handle admin_menu notifications using m_hierarchy:ensure.

  • observe_rsc_delete: Do not allow a content group to be removed iff there are resources in that content group using m_content_group:is_used.

  • observe_rsc_get: Handle rsc_get notifications using m_category:is_meta.

  • observe_rsc_update_done: Handle rsc_update_done notifications using m_hierarchy:ensure.

Delegate callbacks:

  • event/2 with postback messages: delete_all.

  • event/2 with submit messages: delete_move.

See also

mod_acl_user_groups

Edit on GitHub

Models

content_group

Model for content-group checks, currently exposing whether a content group is in use.

See also

mod_acl_user_groups

This module adds rule-based access control.

Referred by

rsc

The main resource model, which is the central part of the Zotonic data model. This model provides an interface to all…