Note: You are currently viewing documentation for Moodle 2.4. Up-to-date documentation for the latest stable version of Moodle may be available here: Creating custom roles.

Creating custom roles: Difference between revisions

From MoodleDocs
(Created page with "{{Roles and capabilities}} <p class="note">'''Please refer to these notes before editing this page.'''</p>")
 
No edit summary
Line 1: Line 1:
{{Roles and capabilities}}
{{Roles and capabilities}}
<p class="note">'''Please refer to [[TOC_with_notes#Roles and capabilities|these notes]] before editing this page.'''</p>
<p class="note">'''Please refer to [[TOC_with_notes#Roles and capabilities|these notes]] before editing this page.'''</p>
==Still editing==
Custom Roles are roles that are not part of the core code, not dowloaded with the installation files. There are always reasons to establish a custome role, and each custom role needs to be created. The basic process is the same for all custom roles so in this page we will create a role then use it as a [[Parent Role]].
We can start this exercise by adding a role  the name of "Perant Test" to our Moodle and we are going to link this parent to "Stedunt Test", a test tole we have for students in our Moodle. 
Go to: Site Administration > Users > Permissions > Define Roles
Scroll to the bottom of the page and click on Add New Role button.
This brings up the Adding a new role screen.
In the Role name dialog, enter the name of the role that you want to create, "Parent" and retype the name in the "Short name" dialog.
In the Summary dialog enter something like "Parent role" 
Moodle 2 uses Roles in a context, so we have to place the Role into a context so we can use it. Scroll down to "Context where this role may be assigned" and click on the User checkbox.

Revision as of 01:27, 19 July 2011

Template:Roles and capabilities

Please refer to these notes before editing this page.

Still editing

Custom Roles are roles that are not part of the core code, not dowloaded with the installation files. There are always reasons to establish a custome role, and each custom role needs to be created. The basic process is the same for all custom roles so in this page we will create a role then use it as a Parent Role.

We can start this exercise by adding a role the name of "Perant Test" to our Moodle and we are going to link this parent to "Stedunt Test", a test tole we have for students in our Moodle.

Go to: Site Administration > Users > Permissions > Define Roles

Scroll to the bottom of the page and click on Add New Role button.

This brings up the Adding a new role screen.

In the Role name dialog, enter the name of the role that you want to create, "Parent" and retype the name in the "Short name" dialog.

In the Summary dialog enter something like "Parent role"

Moodle 2 uses Roles in a context, so we have to place the Role into a context so we can use it. Scroll down to "Context where this role may be assigned" and click on the User checkbox.