Moodle
  1. Moodle
  2. MDL-10002

A way to easily assign a user roles in many different places

    Details

    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Rank:
      1805

      Description

      With this tool you can assign/unassign several roles (of the same type) to one single user.
      For example you can enrol one student in twelve courses.
      Note that that is also a way to view all the different roles (of the same type) of one single user.

      See http://moodle.org/mod/data/view.php?d=13&rid=817

        Issue Links

          Activity

          Hide
          Séverin Terrier added a comment -

          This tool would be very usefull, perhaps in 2.0.

          The one provided isn't compatible with 1.9. Would need to be adapted...

          Show
          Séverin Terrier added a comment - This tool would be very usefull, perhaps in 2.0. The one provided isn't compatible with 1.9. Would need to be adapted...
          Hide
          Artem Andreev added a comment -

          May be similar solution can reolve tis issue: http://moodle.org/mod/forum/discuss.php?d=106961

          Show
          Artem Andreev added a comment - May be similar solution can reolve tis issue: http://moodle.org/mod/forum/discuss.php?d=106961
          Hide
          Martin Dougiamas added a comment -

          Tim, you should include this in the Roles usability roundup for 2.0.

          Show
          Martin Dougiamas added a comment - Tim, you should include this in the Roles usability roundup for 2.0.
          Hide
          Tim Hunt added a comment -

          I'm not going to have time to do this.

          Show
          Tim Hunt added a comment - I'm not going to have time to do this.
          Hide
          Paul Fynn added a comment -

          Would be useful to have an 'export list' option on this to allow admin or departmental admins to list students and their courses?

          Show
          Paul Fynn added a comment - Would be useful to have an 'export list' option on this to allow admin or departmental admins to list students and their courses?
          Hide
          Elaine Blakeman added a comment -

          I would like an export feature too. We need one to export all role settings to excel to make pivot tables so that we can do diffs on the roles and see how they are similar and how they aren't.

          Show
          Elaine Blakeman added a comment - I would like an export feature too. We need one to export all role settings to excel to make pivot tables so that we can do diffs on the roles and see how they are similar and how they aren't.
          Hide
          Martin Dougiamas added a comment -

          I would love to see this as part of the user profile, some page showing an overview of all role assignments that user has on the site, and allowing an "admin" to delete/add these there.

          Show
          Martin Dougiamas added a comment - I would love to see this as part of the user profile, some page showing an overview of all role assignments that user has on the site, and allowing an "admin" to delete/add these there.
          Hide
          Liam Cline added a comment -

          Hello,
          My name is Liam Cline, and I am somewhat interesting in resolving this as a 2011 GSoC project.
          I'm fairly new to the dev side of moodle, although my school (University of Victoria) has been using it for some time.
          As such, I'm a little confused as to how the roles and courses interact within the database. Are there different role tables set up within each course? Which is the parent, course or role?
          It seems to me that this issue would be best implemented fully within SQL, if for no reason other than security.
          I guess what I'm saying is that, if roles are indeed created within the scope of individual courses, adding, say, 12 courses would require 12 separate foreign keys, would it not? This might complicate any sort of tabular batch-assignment setup.

          Show
          Liam Cline added a comment - Hello, My name is Liam Cline, and I am somewhat interesting in resolving this as a 2011 GSoC project. I'm fairly new to the dev side of moodle, although my school (University of Victoria) has been using it for some time. As such, I'm a little confused as to how the roles and courses interact within the database. Are there different role tables set up within each course? Which is the parent, course or role? It seems to me that this issue would be best implemented fully within SQL, if for no reason other than security. I guess what I'm saying is that, if roles are indeed created within the scope of individual courses, adding, say, 12 courses would require 12 separate foreign keys, would it not? This might complicate any sort of tabular batch-assignment setup.
          Hide
          James Ballard added a comment -

          A good use case for this might be in the user context, where a personal tutor or learning support assistant wants to assign themselves to multiple learners across different courses. Currently this requires going into the profile of each learner individually and assigning roles from there which is counter-intuitive to the work-flow and may be difficult to navigate.

          Liam, a course (mdl_course) relates to a context (mdl_context) and a role (mdl_role) is assigned (mdl_role_assignments) to this context. Other contexts include category (mdl_course_categories), user (mdl_user), activity module (mdl_course_modules) and system.

          Show
          James Ballard added a comment - A good use case for this might be in the user context, where a personal tutor or learning support assistant wants to assign themselves to multiple learners across different courses. Currently this requires going into the profile of each learner individually and assigning roles from there which is counter-intuitive to the work-flow and may be difficult to navigate. Liam, a course (mdl_course) relates to a context (mdl_context) and a role (mdl_role) is assigned (mdl_role_assignments) to this context. Other contexts include category (mdl_course_categories), user (mdl_user), activity module (mdl_course_modules) and system.

            People

            • Votes:
              29 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated: