Uploaded image for project: '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

      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

        Gliffy Diagrams

          Issue Links

            Activity

            rezeau Joseph Rézeau created issue -
            mina Nicolas Martignoni made changes -
            Field Original Value New Value
            QA Assignee mina
            saint-georges Arnaud saint-Georges made changes -
            Link This issue will help resolve MDL-10098 [ MDL-10098 ]
            fox Séverin Terrier made changes -
            Affects Version/s 1.9.2 [ 10280 ]
            Affects Version/s 1.9.1 [ 10240 ]
            Affects Version/s 1.9 [ 10190 ]
            Affects Version/s 1.8.6 [ 10270 ]
            Affects Version/s 1.8.5 [ 10252 ]
            Affects Version/s 1.8.4 [ 10242 ]
            Affects Version/s 1.8.3 [ 10230 ]
            Affects Version/s 1.8.2 [ 10220 ]
            Affects Version/s 1.8.1 [ 10213 ]
            Affects Version/s 1.7.2 [ 10174 ]
            Affects Version/s 1.7.1 [ 10151 ]
            Affects Version/s 1.7 [ 10120 ]
            Hide
            fox 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
            fox 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...
            daniss Daniele Cordella made changes -
            Link This issue has a non-specific relationship to MDL-15449 [ MDL-15449 ]
            Hide
            aav Artem Andreev added a comment -

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

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

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

            Show
            dougiamas Martin Dougiamas added a comment - Tim, you should include this in the Roles usability roundup for 2.0.
            dougiamas Martin Dougiamas made changes -
            Assignee Martin Dougiamas [ dougiamas ] Tim Hunt [ timhunt ]
            dougiamas Martin Dougiamas made changes -
            Component/s Roles [ 10097 ]
            Component/s Usability [ 10309 ]
            dougiamas Martin Dougiamas made changes -
            Fix Version/s 2.0 [ 10122 ]
            aav Artem Andreev made changes -
            Link This issue will be resolved by MDL-16793 [ MDL-16793 ]
            timhunt Tim Hunt made changes -
            Link This issue is duplicated by MDL-3929 [ MDL-3929 ]
            timhunt Tim Hunt made changes -
            Summary Assign one user A way to easily assign a user roles in many different places
            aborrow Anthony Borrow made changes -
            Link This issue will help resolve MDL-15187 [ MDL-15187 ]
            Hide
            timhunt Tim Hunt added a comment -

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

            Show
            timhunt Tim Hunt added a comment - I'm not going to have time to do this.
            timhunt Tim Hunt made changes -
            Fix Version/s 2.0 [ 10122 ]
            Assignee Tim Hunt [ timhunt ] moodle.com [ moodle.com ]
            Hide
            paul.fynn 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 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
            emb03 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
            emb03 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.
            dougiamas Martin Dougiamas made changes -
            Workflow jira [ 21048 ] MDL Workflow [ 42271 ]
            tsala Helen Foster made changes -
            Labels triaged
            Fix Version/s DEV backlog [ 10464 ]
            Affects Version/s 2.0.2 [ 10421 ]
            Hide
            dougiamas 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
            dougiamas 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
            liamcline 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
            liamcline 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
            jballard 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
            jballard 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.
            dougiamas Martin Dougiamas made changes -
            Workflow MDL Workflow [ 42271 ] MDL Full Workflow [ 70679 ]

              People

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

                Dates

                • Created:
                  Updated: