Smart Rules AI plugin permissions
The following table summarises the main permissions used by the Smart Rules AI plugin and their default role assignments.
| Name | Description | Default roles |
|---|---|---|
local/coursedynamicrules:managerule | Access the Smart Rules dashboard inside a course and see the rules that are defined there. | Manager, Editing teacher |
local/coursedynamicrules:updaterule | Change the details of a rule (name, description, or active state). | Manager, Editing teacher |
local/coursedynamicrules:deleterule | Remove a rule completely, including its conditions and actions. | Manager |
local/coursedynamicrules:manageaction | Add or remove actions from a rule. | Manager, Editing teacher |
local/coursedynamicrules:deleteaction | Remove an action from a rule. | Manager |
local/coursedynamicrules:managecondition | Add or remove conditions from a rule. | Manager, Editing teacher |
local/coursedynamicrules:deletecondition | Remove a condition from a rule. | Manager |
local/coursedynamicrules:managerule
Allows users to access the Smart Rules AI dashboard inside a course and view the rules defined there.
With this permission, a user can:
- Open Smart Rules AI from the course menu.
- See the list of rules created in the course.
- Access rule details (as allowed by other permissions).
local/coursedynamicrules:updaterule
Allows users to edit a rule’s main settings.
With this permission, a user can:
- Rename a rule.
- Update the rule description.
- Toggle the rule Active/Inactive state.
local/coursedynamicrules:deleterule
Allows users to permanently delete a rule.
With this permission, a user can:
- Delete a rule completely.
- Delete everything attached to that rule (its conditions and actions).
Note: This is a destructive operation (data loss). For that reason, it is granted to Manager by default.
local/coursedynamicrules:manageaction
Allows users to manage the actions attached to a rule.
With this permission, a user can:
- Add new actions to a rule.
- Remove actions from a rule (when deletion is permitted).
- Adjust the configuration of existing actions (where applicable in the UI).
local/coursedynamicrules:deleteaction
Allows users to permanently remove an action from a rule.
With this permission, a user can:
- Delete an action configuration so it no longer runs when the rule triggers.
Note: This is destructive and therefore granted to Manager by default.
local/coursedynamicrules:managecondition
Allows users to manage the conditions attached to a rule.
With this permission, a user can:
- Add new conditions to a rule.
- Remove conditions from a rule (when deletion is permitted).
- Adjust the configuration of existing conditions (where applicable in the UI).
local/coursedynamicrules:deletecondition
Allows users to permanently remove a condition from a rule.
With this permission, a user can:
- Delete a condition configuration so it no longer affects rule matching.
Note: This is destructive and therefore granted to Manager by default.