- 01 Nov 2022
- 2 minutes to read
Main menu custom access rule settings
- Updated on 01 Nov 2022
- 2 minutes to read
When adding or editing a main menu item you can choose to set up a custom access rule. This allows you to control access to a main menu item based on role, audience, or one of the preset rules.
The following settings are available when creating or editing custom rules .
Access controls
Setting | Description | Notes |
---|---|---|
Restrict access | Access controls are used to restrict which users can view the menu item. Restrict access determines how the following criteria are applied.
| - |
Restrict access by role
Setting | Description | Notes |
---|---|---|
Restrict access by role | Tick this box at the top to enable access to be restricted by role. | The other settings will not be editable until you tick this box. |
Role aggregation | Determines whether the user must have all of the selected roles, or any of the selected roles. | - |
Context | This setting allows you to specify where a user must have a role assigned in order to view the menu item.
| - |
Roles with permission to view | This criteria allows you to restrict access to the menu item based on the roles a user has been assigned. You can select as many roles as you like, and use the other supporting settings to determine how Totara checks those roles. | - |
Restrict access by audience
Setting | Description | Notes |
---|---|---|
Restrict access by audience | Tick this box at the top to enable access to be restricted by audience. | The other settings will not be editable until you tick this box. |
Audience aggregation | Determines whether the user must be a member of all of the selected audiences, or any of the selected audiences. | - |
Add audience | Click this button to browse or search for an audience to add. Select the audience(s) you wish to add, then click OK. | - |
Restrict access by preset rule
Setting | Description | Notes |
---|---|---|
Restrict access by preset rule | Tick this box at the top to enable access to be restricted by preset rule. | The other settings will not be editable until you tick this box. |
Preset rule aggregation | Determines whether the user must meet all of the selected preset rules, or any of the selected preset rules. | - |
Conditions required to view | This setting allows you to restrict access to the menu item using one or more predefined rules. The available rules include:
| - |
© Copyright 2024 Totara Learning Solutions. All rights reserved. Some content originally obtained via GPLv3 license and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions.