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

Add ability to include student's list of courses as a hidden user field

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.4
    • Component/s: Administration, Course
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      It is currently possible for any user, no matter what role, to get a list of all courses another user is enrolled in, as long as they are not hidden assignments.

      Would like the capability to define 'Courses' as a hidden user field under Admin->Users->Permissions->User Policies. If courses isselected, users will not be able to see other users' course listing unless they have the moodle/user:viewhiddendetails capability.

      I have attached the diffs to do this, against /admin/settings/users.php & /user/view.php. Diffs generated against 1.9 + (Build: 20080307).

      Discussion is at http://moodle.org/mod/forum/discuss.php?d=91910

        Attachments

        1. users.diff
          0.9 kB
        2. view.diff
          3 kB

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              mcampbell Matt Campbell
              Tester:
              Tim Hunt Tim Hunt
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              11 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Jan/09