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

Fix inconsistencies with 'username' vs department / institution in showuseridentity setting & viewalldetails capability

    XMLWordPrintable

Details

    • MOODLE_30_STABLE
    • MDL-52908-show-username
    • Hide

      1) Go to /admin/settings.php?section=userpolicies and under showuseridentity tick username + institution + department + 'some other field'
      2) Go to a gradebook and check that the extra columns are visible
      3) Add a teacher to the course who does not have the moodle/user:viewalldetails capability, check that they do not see any of the 3 extra fields but does see the 'some other field'
      4) Give them the moodle/user:viewalldetails and then check they now can see the extra fields
      5) Go to the enrol page for a course, check that the headers are not only visibly but can be sorted by them too
      6) Go to the course participants list for the course and check the right headers are the same there
      7) Drill down into the user page from the participants list and check the same fields are consistent too

      Show
      1) Go to /admin/settings.php?section=userpolicies and under showuseridentity tick username + institution + department + 'some other field' 2) Go to a gradebook and check that the extra columns are visible 3) Add a teacher to the course who does not have the moodle/user:viewalldetails capability, check that they do not see any of the 3 extra fields but does see the 'some other field' 4) Give them the moodle/user:viewalldetails and then check they now can see the extra fields 5) Go to the enrol page for a course, check that the headers are not only visibly but can be sorted by them too 6) Go to the course participants list for the course and check the right headers are the same there 7) Drill down into the user page from the participants list and check the same fields are consistent too

    Description

      Identifying a user via their username in the gradebook and elsewhere should be equally configurable as using their email or idnumber but isn't possible. This seems like a simple omission.

      Attachments

        1. COMP202 enrol page.png
          COMP202 enrol page.png
          149 kB
        2. COMP202 participant page.png
          COMP202 participant page.png
          182 kB
        3. COMP202 user list page.png
          COMP202 user list page.png
          211 kB
        4. screenshot-1.png
          screenshot-1.png
          27 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brendanheywood Brendan Heywood
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: