Policies¶
Roles with access
Only administrators have access.
To manage policies, go to Users › Policies in the sidebar of the Administration panel.
The following screen is shown:
How a policy is applied¶
A policy is not assigned to a specific user or group. It is applied according to three pieces of user data: the category, the role and the authentication provider the user logged in with (local, LDAP, SAML or Google).
When there are several policies for the same provider, the most specific one is applied, in this order:
- The one for the user's category and role.
- The one for the user's category and the All role.
- The one for the All category and the user's role.
- The one for the All category and the All role.
The default policy (local provider, All category and All role) cannot be deleted.
Columns¶
- Type: The authentication provider the policy applies to.
- Category: The category it applies to.
- All: Global policy for all categories.
- Role: The role it applies to.
- All: All roles.
- Admin, Manager, Advanced, User: Only users with that role.
- Email verification: Whether users must verify their email address to log in.
- Disclaimer: Whether users must accept terms of use to log in.
- Password: Password parameters. They only apply to local provider accounts; for other providers the table shows «-».
- Digits: Minimum number of digits in the password.
- Length: Minimum password length.
- Lowercase: Minimum number of lowercase letters.
- Uppercase: Minimum number of uppercase letters.
- Special chars: Minimum number of special characters.
- Expiration days: Days the password is valid. Once it expires, a new one must be set. With 0 it never expires.
- Old passwords: Number of old passwords that cannot be reused.
- Not username: Whether the password cannot contain the username.
- Action: Actions on the policy.
- Edit: Edits the policy.
- Force verification at login: Opens the Force validation on login window. It only appears if the policy has email verification, the disclaimer or password expiration enabled.
- Delete: Deletes the policy.
Add a policy¶
To add a policy, click Add policy, at the top right of the page.
The New Policy window opens:
- Choose the provider in Type, the category in Category and the role in Role.
- Fill in the Password fields (local provider only): Digits, Character length, Lowercase chars, Uppercase chars, Special chars, No username, Expiration days and Old passwords.
- In Email, select Verification required if the user must verify their email.
- In Disclaimer, select Disclaimer acknowdlege required if the user must accept terms, and choose their text in Text template. The texts are notification templates; if there are none, the window shows the Go to notification templates link.
- Click Add policy.
Disclaimer
The Disclaimer options are only available in policies for the All category.
Edit a policy¶
To edit a policy, click the button. The Edit Policy window opens:
The provider, category and role cannot be changed. Change the parameters and click Edit policy.
Force validation at login¶
The button opens the Force validation on login window. Only the options the policy has enabled appear:
- Force Update Password: forces a password change at the next login.
- Force Verify Email: forces the email address to be verified again.
- Force Accept Disclaimer: forces the disclaimer to be accepted again.
On confirming, the action applies to all users of that provider, category and role, who will have to do it the next time they log in.
What the user sees¶
- Password: when changing the password or resetting it, the user sees the requirements it must meet. If it does not meet them, they get messages such as «Password must be at least N characters long» or «This password has already been used in the past».
- Expiration days: only applies to local provider accounts. When the password expires, at login the user is taken to the password change screen.
- Email verification: only takes effect if email sending (SMTP) is enabled in System; without SMTP it is never requested. It does not apply either to SAML or LDAP users when the provider stores the email. When it applies, the user sees the email verification screen at login.
- Disclaimer: after logging in, the user sees the disclaimer and cannot continue until they accept it.





