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

user profile field hiding does not seem to be working in user/profile.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.7
    • 2.7
    • Administration
    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • w11_MDL-44359_m27_profile
    • Hide

      1/ create a role with moodle/user:viewdetails but without moodle/user:viewhiddendetails and moodle/site:viewuseridentity
      2/ assign this role to user at system level
      3/ verify user cannot see hidden user profile fields on user/index.php and user/profile.php
      4/ verify the alphabet number filtering works on the user/index.php
      5/ verify the showuseridentity setting works on user/profile.php

      Show
      1/ create a role with moodle/user:viewdetails but without moodle/user:viewhiddendetails and moodle/site:viewuseridentity 2/ assign this role to user at system level 3/ verify user cannot see hidden user profile fields on user/index.php and user/profile.php 4/ verify the alphabet number filtering works on the user/index.php 5/ verify the showuseridentity setting works on user/profile.php

    Description

      The reason is explode with ", " instead of "," which makes all hidden fields visible on user/profile.php

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Ankit Agarwal Ankit Agarwal
              Dan Poltawski Dan Poltawski
              Jetha Chan Jetha Chan
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14