Set up security for a site collection and a site
You can use the predefined SXA roles to manage user's access to items and content. Before you can assign these roles to users, you must set up security for the site collection and site.
You can only set up security for sites after you set up the security for the site collection.
Set up security for a site collection
To set up security for a site collection:
-
Right-click the site collection, click Scripts and then click SetupSecurity.
-
In the Security domain dialog box either:
-
Click the Sitecore domain, and click Proceed.
-
Click Create new domain, click Proceed and enter a domain name, and click Create.
NoteIf you select a different domain than Sitecore, you must set the read/write permissions on the Languages node for one of the base roles or for the Everyone role of your domain.
-
-
In the Site collection security roles dialog box:
-
To add the default SXA roles, click Assign.
-
To select a different role, click and then click Assign.
NoteTo clear the domain, or undo the security settings, click the site collection and in the Security section clear the Role domain field.
-
Set up security for a site
Before you can set up the security for a site, you must set up security for its site collection.
To set up security for a site:
-
Right-click the site, click Scripts and then click Setup Security.
-
In the Security domain dialog box either:
-
Click the Sitecore domain, and click Proceed.
-
Click Create new domain, click Proceed, enter a domain name, and then click Create.
NoteBy default, the domain you selected for the site collection is preselected.
-
-
In the Site security roles dialog box:
-
To add the default roles, click Assign.
-
To select a different role, click and then click Assign.
-
After you have configured security for your site collection and site, you can create new users and assign them to the Admin, Author, Designer role in the User Manager.
To clear the domain, or undo the security settings, click the Site and in the Security section clear the Role domain field.