Users and Rights
Package: BASIC
1. Rights Management
Depending on requirements, rights management can be very complex. Changes to permissions should therefore be made with particular care to avoid unintended access rights or functional restrictions.
brainX has a very extensive rights management system. The rights settings allow you to define:
- which user is allowed to see/edit which modules
- which user is allowed to see/edit which fields within a module
- which user is allowed to perform which actions
- which user is allowed to see/edit/delete which records
- which user has administrative rights
The rights settings are configured via Global Rights Assignment as well as Roles, Profiles, Users and Groups.
The rights settings are accessed via "Global Settings → Users and Rights".
Global Settings - Users and Groups
Changes to roles, profiles, groups and access rules that affect permissions do not take effect immediately. After saving, the notice Changes detected is displayed. It can be minimised and remains visible until recalculation, including on other pages. Only with the Recalculate now button are all changes made up to that point rolled out to the users together. This means that more extensive adjustments can be prepared in several steps (e.g. first change the role, then the profile) and finally made effective with a single recalculation. Depending on the extent of the changes, recalculation may take some time.
2. Administrative Rights
Independently of roles and profiles, it is possible to grant a user administrative rights.
Administrative rights are granted using the "Rights Management" field in the user settings. At user level, the following settings are distinguished for rights management:
- –none– = The user has no administrative rights whatsoever and is fully subject to the role concept.
- Admin = This is the highest level of this setting. A user with this permission may configure, create and delete everything. A user with this attribute is not subject to record authorization and therefore not only ignores the role hierarchy, but also the organization check! The permissions of a user with Admin cannot be restricted. It is therefore not suitable for checking permissions (see the "Check Rights" tip in section 3).
- CustomerAdmin = This is one level below the Admin. A user with the "CustomerAdmin" attribute is not subject to record authorization and therefore not only ignores the role hierarchy, but also the organization check!
Permissions/Restrictions:- They may not delete or create Admin and CustomerAdmin users.
- Superuser = A user with additional, restricted administrative permissions (permissions are applied with regard to roles and profiles).
Permissions/Restrictions:- Module Management
- Only modules that the user can access at least in read mode can be configured.
- Modules cannot be activated or deactivated.
- Basic Setup
- Software Info
- Logs may not be deleted
- Language Editor
- no access
- System Automation
- Automations
- read-only access
- Background Tasks
- read-only access (no reset permitted)
- Automations
- Users and Rights
- no access
- Further Functions
- no access
- Software Info
- Company Information
- no access
- Module Management
3. Quick Reference: Roles, Profiles and Groups
- Roles: Control access to records, to my records and to subordinate roles. Every role has at least one profile.
- Profiles: Control access to modules and their fields.
- Role + Profile: The sum of positive rights applies.
- Groups: Used to share records.
Recommendation: Create groups from users or roles and subordinates only. - Custom Access Rules: Can be used to override part of the permissions/rights.
As a general rule:
- Profiles are for modules
- Roles are for the hierarchy
Interplay of Global Rights Assignment, Profiles and Roles
Which records a user can see and what they may do with them results from the interplay of three levels:
- Global Rights Assignment → the foundation for each module. The public switch determines whether all users can see all records of the module. If a module is public, every user with access to the module sees all records – regardless of how the roles are structured. The permission (May view, May edit, May edit and delete) then determines what a user may do with records of other users that do not belong to their subordinate roles.
- Profiles → determine whether a user may use a module at all, whether they may create, edit or delete records, and which fields and tools are available to them. The profile right applies to one's own records and to the records of subordinate roles.
- Roles → determine, for non-public modules, whose records a user sees: their own and those of subordinate roles. Even for public modules, the profile right – not the permission from the Global Rights Assignment – applies to records of subordinate roles.
The right from the Global Rights Assignment cannot be exceeded by the profile: if the Global Rights Assignment specifies May edit and delete, but the user's profile for the same module only allows edit, the user can edit other users' records but not delete them. Conversely, May view limits other users' records to read access, even if the profile includes edit and delete.
A module that is deactivated in the Module Management is not available to any user and therefore does not need to be permissioned. Modules that are not required should be deactivated – this reduces the effort involved in rights management.
Permissions should be checked with a test user who has the role to be checked and does not have any administrative rights. After each change (and after Recalculate now), use this user to check which modules, records, fields and actions are visible or executable – for example, whether the create button is shown and whether Edit and Delete are available for one's own and for other users' records (greyed out in the list view, hidden in the detail view). Users with Admin are not suitable for this, as they are not subject to any record permission.
Detailed information on the individual topics can be found in the following sections: