Access restriction is used to restrict access to a page and its sub-pages to certain users (or groups) of the site. Only these users will have access to the restricted pages.
To open the tool for limiting access to a page and its sub-pages, select a page in the sitemap and click on the button Restrict access button (tab Advanced).
This tool displays the current status of the access restriction on this page.
The tool displays :
The interface is identical to the general rights management interface described on the Assign rights page.
The decorator Restricted access decorator allows you to view pages with restricted access through the global tree structure.
By default, access limitation is applied to the page and its subpages. If a page does not define its own (positive) permissions, it inherits the access limitations of its parent page.
By default, a page always inherits the accesses of its parent pages.
A sub-page can define its own access restrictions (to limit access to a more restricted set of users):
Example
|
|
|
|
|
|
|
|
Similarly, the mode of limiting access to all logged-in users also applies to subpages.
There are many different ways of thinking about site-side limited-access pages. It mainly depends on the implementation of your application and the behavior of your graphic charter.
For a non-authenticated user, links to a limited page can, depending on your graphic charter :
If an unauthenticated user accesses a restricted page (cases 2 and 3), the authentication method used to authenticate a site user is executed. This depends on your application settings: basic authentication, advanced form authentication, CAS, etc.
In the case of the demo application, a login form is displayed as shown below:
In case 1, the graphic charter proposes a login area for site users on most pages. Once authenticated, links to restricted pages will be displayed if access is authorized.