Moodle

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

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor 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

  1. users.diff
    08/Mar/08 1:03 AM
    0.9 kB
    Matt Campbell
  2. view.diff
    08/Mar/08 1:03 AM
    3 kB
    Matt Campbell

Issue Links

Activity

Hide
Matt Campbell added a comment -

Updated to assign this to Petr - both he and Martin have been pretty active in this area, and Petr doesn't have as many items assigned to him!

Show
Matt Campbell added a comment - Updated to assign this to Petr - both he and Martin have been pretty active in this area, and Petr doesn't have as many items assigned to him!
Hide
Eloy Lafuente (stronk7) added a comment -

Some quick thoughts:

1) Sounds interesting
2) Current behaviour should be maintained as default (not to show).
3) Hidden categories/courses must be out. In general, only "reachable by the user" courses should be showed.

Thanks Matt. Ciao

Show
Eloy Lafuente (stronk7) added a comment - Some quick thoughts: 1) Sounds interesting 2) Current behaviour should be maintained as default (not to show). 3) Hidden categories/courses must be out. In general, only "reachable by the user" courses should be showed. Thanks Matt. Ciao
Hide
Eloy Lafuente (stronk7) added a comment -

Addressing it to 1.9.1 if finally approved by MD.

Show
Eloy Lafuente (stronk7) added a comment - Addressing it to 1.9.1 if finally approved by MD.
Hide
Matt Campbell added a comment -

Thanks, Eloy. I changed the title on this issue slightly - instead of capability, this should be ability.

On 2 & 3, the current behavior is to display all courses the user is enrolled in, even visibible courses in hidden categories.

Thanks,
Matt

Show
Matt Campbell added a comment - Thanks, Eloy. I changed the title on this issue slightly - instead of capability, this should be ability. On 2 & 3, the current behavior is to display all courses the user is enrolled in, even visibible courses in hidden categories. Thanks, Matt
Hide
Matt Campbell added a comment -

Another discussion where this feature is desired, at http://moodle.org/mod/forum/discuss.php?d=95915.

Show
Matt Campbell added a comment - Another discussion where this feature is desired, at http://moodle.org/mod/forum/discuss.php?d=95915.
Hide
Matt Campbell added a comment -

Seeing this in more discussions now, and even getting IMs from Moodlers asking how to get this into core or into their installs.

Is there any possibility we could get this approved and put into the next Weekly?

Show
Matt Campbell added a comment - Seeing this in more discussions now, and even getting IMs from Moodlers asking how to get this into core or into their installs. Is there any possibility we could get this approved and put into the next Weekly?
Hide
Petr Škoda (skodak) added a comment -

should be fixed now, please test

Show
Petr Škoda (skodak) added a comment - should be fixed now, please test
Hide
Tim Hunt added a comment -

Confirming, it is a duplicate.

Show
Tim Hunt added a comment - Confirming, it is a duplicate.

People

Vote (11)
Watch (11)

Dates

  • Created:
    Updated:
    Resolved: