The rights manager defines the method for verifying user rights. The rights manager answers the question "Does user X have right D on context C?".

Assigning rights to users consists in assigning a right profile to a user in a context.

The rights manager is a single extension pointThis means that only one implementation can be used at a time. Its identifier is org.ametys.runtime.right.RightsManager.

The choice of user manager is made either via the WEB-INF/param/runtime.xml of the application (cf. Runtime file.xml) or through thePlugins and Workspace"Available from the administration interface.

To date, the default extensions available for this extension point are :

  1. org.ametys.runtime.plugins.core.right.Basic
  2. org.ametys.runtime.plugins.core.right.DefaultProfileBased
  3. org.ametys.runtime.plugins.core.right.HierarchicalProfileBased
  4. org.ametys.runtime.plugins.web.right.WebHierarchicalProfileBased

org.ametys.runtime.plugins.core.right.Basic

This implementation always answers yes to the question"Does user X have right D on context C?", whatever the user, the right and the context.

org.ametys.runtime.plugins.core.right.DefaultProfileBased

TODO

org.ametys.runtime.plugins.core.right.HierarchicalProfileBased

TODO

org.ametys.runtime.plugins.web.right.WebHierarchicalProfileBased

TODO

Back to top