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

Combine course:viewhiddenuserfields and user:viewhiddendetails capabilities to prevent confusion

XMLWordPrintable

    • MOODLE_29_STABLE
    • MDL-51630-master
    • Hide

      Use capability moodle/user:viewhiddendetails instead

      Show
      Use capability moodle/user:viewhiddendetails instead
    • Hide
      1. Go to Site administration > Users > Permissions > User policies and find the 'Hide user fields' option. Select some common fields (e.g. city, description) and save the page
      2. Create a course and add some students into it
      3. Log in as a student and check the profiles of the other students. Confirm that you cannot see the profile fields that have been hidden
      4. As admin, modify the student role and allow moodle/course:viewhiddenuserfields capability
      5. Repeat the above student steps. You should be able to see the hidden fields on the user's profiles.
      6. *Check that the student is able to see the hidden fields
      Show
      Go to Site administration > Users > Permissions > User policies and find the 'Hide user fields' option. Select some common fields (e.g. city, description) and save the page Create a course and add some students into it Log in as a student and check the profiles of the other students. Confirm that you cannot see the profile fields that have been hidden As admin, modify the student role and allow moodle/course:viewhiddenuserfields capability Repeat the above student steps. You should be able to see the hidden fields on the user's profiles. *Check that the student is able to see the hidden fields

      To reproduce..

      • Go to Site administration > Users > Permissions > User policies and find the 'Hide user fields' option. Select some common fields (e.g. city, description) and save the page
      • Create a course and add some students into it
      • Log in as a student and check the profiles of the other students. Confirm that you cannot see the profile fields that have been hidden
      • As admin, modify the student role and allow moodle/course:viewhiddenuserfields capability
      • Repeat the above student steps.

      You will find that the student is still unable to see the hidden fields despite being given that capability

            Unassigned Unassigned
            howardsmiller Howard Miller
            Jun Pataleta Jun Pataleta
            Votes:
            6 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.