Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23219

Check System Permissions function seems a bit useless

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Try this in various contexts.

      1. Go to Settings -> Users -> Permissions -> Check permission (that is the location on a course page, it is slightly different in system / categories / modules).

      2. Select a user (you should probably try this for various different users).

      3. Verify that, at the top of the summary of the user's permissions, it shows all the user's roles in this context or parent contexts, including 'authenticated user', 'front page role', etc.

      4. Role should be shown with a link to view the role definition of that role (if you have permissions to do that) and with a link that takes you to the context in question.

      Show
      Try this in various contexts. 1. Go to Settings -> Users -> Permissions -> Check permission (that is the location on a course page, it is slightly different in system / categories / modules). 2. Select a user (you should probably try this for various different users). 3. Verify that, at the top of the summary of the user's permissions, it shows all the user's roles in this context or parent contexts, including 'authenticated user', 'front page role', etc. 4. Role should be shown with a link to view the role definition of that role (if you have permissions to do that) and with a link that takes you to the context in question.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Surely "Check System Permissions" would be much more use if it showed what roles a user was assigned to? Even the title is wrong - it shows a list of capabilities. 99 times out of 100 any role problems come down to having forgotten about assigning a user in some strange context. This is only going to half help with this. Ideally it should show both the capabilities and a simple list of role assignments for that user.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              howardsmiller Howard Miller
              Peer reviewer:
              Petr Skoda
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              7 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/12