Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Demo teacher role.

Demo teacher role: Difference between revisions

From MoodleDocs
No edit summary
m (Reverted edits by Carlostg (talk) to last revision by German Valero)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Moodle 1.9}}
{{Roles}}
The role of '''Demo teacher''' may be used to provide a demonstration teacher account with a password and profile which can't be changed.
The role of '''Demo teacher''' may be used to provide a demonstration teacher account with a password and profile which can't be changed.


==Role set-up==
==Role set-up==


#Access ''Administration > Users > Permissions > Define roles''
#Access ''Settings > Site administration > Users > Permissions > Define roles''
#Click the button "Add a new role"
#Click the button "Add a new role"
#Give the role a name (e.g. Restricted user), short name and description
#Give the role a name (e.g. Restricted user), short name and description
#Change the capabilities [[Capabilities/moodle/user:changeownpassword|moodle/user:changeownpassword]] and [[Capabilities/moodle/user:editownprofile|moodle/user:editownprofile]] to ''prevent''. (Note that these capabilities are only available in Moodle 1.9 onwards.)
#For context types where this role may be assigned, tick system
#Click the button "Add a new role"
#Click the 'Show advanced' button so that the four different permission types are shown
#Filter for changeownpassword and editownprofile and change the capabilities [[Capabilities/moodle/user:changeownpassword|moodle/user:changeownpassword]] and [[Capabilities/moodle/user:editownprofile|moodle/user:editownprofile]] to ''prohibit''.  
#Click the button "Create this role"


==Account and course set-up==
==Account and course set-up==


#Create a demo teacher account via ''Administration > Users > Accounts > Add a new user''
#Create a demo teacher account via ''Settings > Site administration > Users > Accounts > Add a new user''
#Create a course for the demo teacher, perhaps a copy of the [http://moodle.org/course/view.php?id=34 Moodle Features Demo course]
#Create a course for the demo teacher


==Role assignment==
==Role assignment==
The demo teacher account is assigned the role of Teacher in the course context and assigned the role of Restricted user in the system context as follows:
#Access the Assign roles page in the demo course via the Assign roles link in course administration block
#Choose the Teacher role to assign
#Select the demo teacher user in the potential users list, and use the left-facing arrow button to add it to the existing users list
#Access ''Administration > Users > Permissions > Assign system roles''
#Choose the Restricted user role to assign
#Select the demo teacher user in the potential users list, and use the left-facing arrow button to add it to the existing users list


==See also==
The demo teacher account should be [[Course enrolment|enrolled]] as a teacher in the course and assigned the system role of restricted user.


*[[Manage roles]] - including testing a new role
To assign the role of restricted user:
 
#Access ''Settings > Site administration > Users > Permissions > Assign system roles''
[[Category:Roles]]
#Choose the restricted user role to assign
#Select the demo teacher user in the potential users list, and use the left-facing arrow button to add it to the existing users list


[[fr:Rôle enseignant de démonstration]]
[[fr:Rôle enseignant de démonstration]]
[[ja:デモ教師ロール]]
[[ja:デモ教師ロール]]
[[de:Demo-Trainer-Rolle]]
[[de:Demo-Trainer-Rolle]]
[[es:Rol de maestro para demostración]]

Latest revision as of 07:47, 3 September 2015


The role of Demo teacher may be used to provide a demonstration teacher account with a password and profile which can't be changed.

Role set-up

  1. Access Settings > Site administration > Users > Permissions > Define roles
  2. Click the button "Add a new role"
  3. Give the role a name (e.g. Restricted user), short name and description
  4. For context types where this role may be assigned, tick system
  5. Click the 'Show advanced' button so that the four different permission types are shown
  6. Filter for changeownpassword and editownprofile and change the capabilities moodle/user:changeownpassword and moodle/user:editownprofile to prohibit.
  7. Click the button "Create this role"

Account and course set-up

  1. Create a demo teacher account via Settings > Site administration > Users > Accounts > Add a new user
  2. Create a course for the demo teacher

Role assignment

The demo teacher account should be enrolled as a teacher in the course and assigned the system role of restricted user.

To assign the role of restricted user:

  1. Access Settings > Site administration > Users > Permissions > Assign system roles
  2. Choose the restricted user role to assign
  3. Select the demo teacher user in the potential users list, and use the left-facing arrow button to add it to the existing users list