AddUserToRole

The AddUserToRole rule function provides more precise permission control. A rule can change a user's role to grant or remove access.

Illustration of a workflow diagram and role assignment

For example, to remove access, a rule can add a user to the forbidden role.

Historical AMODIT Script documentation for the AddUserToRole function

Available roles:

  • cc — notifications and read access;
  • contributor — notifications plus read and write access;
  • reader — read access without notifications;
  • forbidden — no access.

After a role is assigned to a user, it is stored in the database.

Discuss Permission Rules

Review how role assignment can support controlled access in an AMODIT process.