Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,221 of 9,224 pages
About the help in other languages
All help pages

Roles and policies of sevenx_multisite

The roles, policies, sections, user groups and role assignments a sevenx_multisite install creates, and the administrator preferences it sets, as written in the installer.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/site-packages/sevenx-multisite/roles-and-policies.md

On this page

Roles and policies of sevenx_multisite

This page is for administrators who manage users on a sevenx_multisite installation and want to know what the install gave each role, and for developers who change it. It answers: which roles get which policies, which sections and user groups are created, and who is assigned to what. The general guide to roles is Roles and policies.

Contents

  1. Two places that write roles
  2. Sections and user groups
  3. Anonymous
  4. Member
  5. Editor
  6. Partner
  7. Role assignments
  8. Administrator preferences

Two places that write roles

WhereWhen it runsMechanism
siteRoles(), called through eZSiteRoles() in roles.phpwhile CreateSites sets up rolesreturns role definitions the setup applies
initSteps() steps 16 to 31in the post-installkernel steps createContentSection, addPoliciesForRole, removePoliciesForRole, createContentObject, setSection, renameContentObject, assignUserToRole

addPoliciesForRole creates the role when it does not exist yet (create_role defaults to true in kernel/classes/ezsiteinstaller.php), so the Partner role is created by its first policy. The Administrator role is not changed by the installer; it already has */*.

Policies are limited by class and section. In the step list a class or section is given by identifier or name and resolved when the step runs (classIDbyIdentifier, sectionIDbyName), so the policies refer to the ids of the new installation.

Sections and user groups

StepResult
createContentSectiona section "Restricted" with the navigation part ezcontentnavigationpart
createContentObjecta user_group "Partners" below users
setSectionusers/partners in the Restricted section
setSectionx_archives, "the top-level Archives folder of the base data", in the Restricted section; skipped when it does not exist
renameContentObjectobject 11, "Guest accounts", renamed to "Members"

Anonymous

Module / functionLimitationSource
rss/feedsiteRoles(), assigned to the guest and anonymous accounts
user/loginSiteAccess: every served siteaccess except the admin and adminuisiteRoles()
content/readSection 3 (Media), so images embedded in article bodies rendersiteRoles()
tags/viewsiteRoles(): tag links of articles and recipes
info-collection/readsiteRoles(): the lead form modal of the Bold templates
shop/buypost-install
content/createclasses comment and review, section Standard, language the primary languagepost-install
ezjscore/callFunctionList ezstarrating_rate, ezstarrating_user_has_rated, loadMorepost-install
content/readclasses image, banner, flash, real_video, windows_media, quicktime, video, section Mediapost-install

The login policy lists bold and bold_ger too: "Without bold and bold_ger here the Bold site refuses anonymous access even once the siteaccesses are registered."

Member

Module / functionLimitation
content/readSection 3
tags/view, info-collection/read
content/createforum_topic below forum, section Standard
content/createforum_reply below forum_topic, section Standard
content/createcomment below article, blog_post or article_mainpage, section Standard
content/editcomment, forum_topic, forum_reply, section Standard, Owner self
user/selfedit, user/password, notification/use, ezjscore/call
user2fa/setup, user2fa/verifyonly when sevenx_authentication_2fa is installed

Editor

The post-install first removes the Editor role's content/* policy, then adds:

Module / functionLimitation
content/create24 classes (folder, link, file, product, feedback_form, frontpage, the three article classes, blog, poll, multicalendar, documentation_page, infobox, the media classes, gallery, forum, forums, event_calendar, banner, image) below a folder
content/createblog_post below blog; forum_topic below forum; event below event_calendar; image below gallery
content/createfolder, link, feedback_form, frontpage, documentation_page, gallery, event_calendar, multicalendar, forums below a frontpage
websitetoolbar/use24 classes
content/edit
content/readsections Standard, Restricted and Media
notification/use, content/manage_locations, ezodf/*, content/diff, content/versionread, content/versionremove, content/remove, content/translate, rss/feed, content/bookmark, content/pendinglist, content/dashboard, content/view_embed
uiswitch/language, uiswitch/designthe interface language and design choices of the admin toolbar
ezjscore/callFunctionList ezjscnode, the node data calls of the sub-items list and the online editor
user2fa/setup, user2fa/verifyonly when sevenx_authentication_2fa is installed

Note

The content/create limitations of the Editor role name the classes of sevenx_classes, not the ng_* classes of the demo content. Check the role before giving editors the Fit & Healthy and Bold Agency content to work on.

Partner

Module / functionLimitation
content/readsection Restricted
content/createforum_topic below forum, forum_reply below forum_topic, comment below article, all in section Restricted
content/editcomment, forum_topic, forum_reply, section Restricted, Owner self
user/selfedit, notification/use
user2fa/setup, user2fa/verifyonly when sevenx_authentication_2fa is installed

Role assignments

User groupRoles
users/members (the renamed "Guest accounts")Member
users/partnersPartner, Member, Anonymous
users/editorsMember
the guest and anonymous accountsAnonymous (from siteRoles())

Administrator preferences

sitePreferences() sets these preferences for the administrator account (the object with remote id 1bb4fe25487f05527efa8bfd394cecc7 in the setup's object map):

PreferenceValue
admin_navigation_content1
admin_navigation_roles1
admin_navigation_policies1
admin_list_limit2 (the comment in the code: "The child list limit is 25 by default")
admin_treemenu1
admin_bookmark_menu1

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x