Restrict Access By Role
Last updated
Last updated
You can create custom membership sections within your website, where you can require the user is logged in and is in a specific role. Just right click on the top level Content and choose Public Access. Then choose the roles you want to restrict access to.
Once applied, the restricted Content items will show as Red
This will restrict access to the Content and all child content items (descendants). If a user tries to access the page who is not logged in, or doesn't have permission (Not in the correct role) then will be redirected to the login page defined in ZauberSettings (Which is /account/login by default).
If you want to use a custom login or no authorisation page, then just add the following setting in your appSettings and add the url you want people redirected to when they try to access these pages.