- Go to Site administration >
Users > Permissions > Define
roles.
- At the bottom of the page, click “Add a new role.”

- Choose an existing role to use as a
template, or select “No role” if you want to create the role
entirely from scratch.

Short name – must be unique and must not duplicate any existing role short name in Moodle.
Custom full name – the display name of the role.
Description – explain what the role is for and how it should be used.
Context types where this role may be assigned – choose where the role can apply (e.g., system-wide, category, course, or activity level).
Tip:
Restricting context levels helps
prevent the role from being assigned
in inappropriate places.

Use the Filter box to search for specific capabilities.
Refer to similar roles if unsure what permissions are needed.
Avoid granting powerful system capabilities unless necessary (e.g.,
moodle/site:config).
- After reviewing the selected
permissions, click “Create this
role” at the bottom of the
page.
- Your new custom role should now appear
in the list of roles.