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: Add content-group administration entries to the admin menu.

  • 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: Ensure resources get a default content group when no explicit content group is set.

  • observe_rsc_update_done: Rebuild/normalize the content-group hierarchy after relevant resource updates.

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…