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.
Pour ouvrir l'outil de limitation d'accès à une page et à ses sous-pages, sélectionnez une page dans le plan du site et cliquez sur le bouton Limiter l'accès (onglet Avancé).
This tool displays the current status of the access restriction on this page.
L'outil affiche :
L'interface est identique à l'interface générale de gestion des droits détaillée dans la page Affecter les droits.
Le décorateur Accès limité du Plan du site permet de visualiser les pages ayant une restriction d'accès à travers l’arborescence globale.
Par défaut la limitation d'accès est appliquée à la page et ses sous-pages. Si une page ne définit pas ses propres autorisations (positives), elle héritent des limitations d'accès de sa page parente.
Une page hérite toujours par défaut des accès de ses pages parentes.
Une sous-page peut définir ses propres limitations d'accès (afin de limiter l'accès à un ensemble plus restreint d'utilisateurs):
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.