HowToMoodle BlogSubscribe to our Blog

How to delegate creation of user accounts in Moodle and Totara Learn

by Gemma Mellings on | Aug 18, 2015 | Blog, Moodle Tips | 0 comments

As a busy Moodle or Totara Learn Administrator you can delegate the ability to create new accounts on your site. I encountered this scenario during a recent Moodle Mentor session. This post is all about using a permissions based solution for this situation. While this post does focus on Moodle, the same is possible in Totara Learn and you can also extend the capabilities allowed to include HR import.

Previously, I wrote about how you can empower your students with Moodle permissions. In this scenario we’ll need to create a new role, which will give users the ability to create user accounts and enrol them in courses and nothing else.

Step 1- Create the "create user accounts" role

As the site's administrator, go to Site administration > Users > Permissions > Define roles and click the Add a new role button. On the first screen, we can base our new role on an existing or standard role or add a role preset. We are not doing either so you can just click Continue.

Once you have given the role the name (I am going to use User Creator) we need to make the role a system-level role so tick the system check box (see the image below).

system_role

Next,  add the necessary capabilities to the role, by ticking the Allow check box for each of the following:

  • moodle/site:uploadusers
  • moodle/user:create
  • enrol/manual:enrol

...and click the Create this role button at the bottom of the page.

Step 2 - Assign the role

Once you're happy the person you're asking to create user accounts actually has an account themselves on the site, we can assign the role to that user. As the role was defined as a system role, to assign it you need to go to Site administration > Users > Permissions > Assign system rolesThe role should now be in the list of roles that can be applied to users across the entire system.

choose_role

Click the User Creator role and then select the users you want to assign the role from the list of "Potential users" and Add them to the role. Now when the users assigned to this new system role logs into Moodle, they see an Administration block on the homepage with a Site administration section containing with the menu items necessary for them to create user accounts.

administration block

Need help?

If you would like to get more out of your Moodle or Totara Learn site, we want to help. Call us on 0330 660 1111 or contact us via http://info.howtomoodle.com/contact-us

Develop your Moodle skills further with our online Moodle Training


Share this: