Security for multiple subsites
In this section:
- Learn how to manage security for multiple related subsites
Before we begin:
- Make sure you are in the "Security" section on the navigation tabs.
- Maker sure you have full administration rights for your site.
The SilverStripe Subsites module allows you to manage multiple related sites through a single CMS interface. Because all sites run on a single installation of SilverStripe, they can share users, content and assets.
When creating roles, you can assign the following subsite-specific permissions:
- Access to Subsite: Shows the Subsite section in the CMS, allowing you to manage subsites for your site (i.e., create, edit, view.)
- Manage subsites for groups: Ability to limit the permissions for a group to one or more subsites.
- Manage assets for subsites: Ability to select the subsite to which an asset folder belongs (also requires access to Files & Images.)
Groups can have access to all sites, or to one or more specific subsites.
If you are using subsites and have different staff in charge of each subsite, you probably want to create a separate group for each subsite.
The dropdown in the upper right corner of the CMS indicates which subsite you are currently on.
While you are in the Security section of the CMS, the selection in the subsites dropdown defines what groups you see in the left-hand pane.
The choices are:
- Groups accessing all sites
- [your main site]
- [a subsite]
- [another subsite]
- All groups - i.e., all above combined
Once you make a selection from the dropdown, you see the appropriate groups in the Security section. In the Security section, click a group and go to its Subsites tab to assign the subsites to which the group has access. Click Only these subsites to reveal a checklist of all available sites.