Files
tryton/modules/user_role
Cédric Krier eeb2b75b4c Forbid to set role to admin user
The links between admin user and groups are managed by XML record.
But the sync task may delete such link if a role is assigned to admin because
the task is run as root which skip the XML check.

Closes #15086
(grafted from 0512f49869883b95b74387a292753e9e43375f35)

--HG--
branch : 8.0
2026-09-10 16:07:26 +02:00
..
2025-12-15 18:00:12 +01:00
2025-06-06 14:43:14 +02:00
2026-06-18 21:34:23 +02:00
2026-04-20 20:10:13 +02:00
…
…
2026-09-10 16:07:26 +02:00
…
2026-06-18 21:34:39 +02:00

User Role Module
################

The user_role module allows to assign roles to user instead of groups.
A *Role* is defined by a set of groups. When a role is added to a user, it
overrides the existing groups. A role can be added to a user for a period.