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

Remove the columns from the participants page that are not in showuseridentity

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4
    • 3.4
    • User management
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59436-master
    • Hide
      $CFG->showuseridentity and $CFG->hiddenuserfields set to defaults.
      1. Login as a teacher in a course and go to the participants page.
        • Confirm that there is no "Country" nor "City/town" columns in the participants table.
      2. Login as a student in a course and go to the participants page.
        • Confirm that there is no "Country" nor "City/town" columns in the participants table.
      City and country in $CFG->showuseridentity
      1. Login as an admin.
      2. Navigate to Site administration / Users / Permissions / User policies.
      3. Under "Show user identity", tick "City/town" and "Country" and save the changes.
      4. Login as a teacher in a course and go to the participants page.
        • Confirm that you see the "Country" and "City/town" columns in the participants table.
      5. Login as a student in a course and go to the participants page.
        • Confirm that there is no "Country" nor "City/town" columns in the participants table.
      City and country in $CFG->showuseridentity, but are also selected in $CFG->hiddenuserfields as well
      1. Login as an admin.
      2. Navigate to Site administration / Users / Permissions / User policies.
      3. Under "Hide user fields", select City/town and Country and save the changes.
      4. Login as a teacher in a course and go to the participants page.
        • Confirm that you see the "Country" and "City/town" columns in the participants table.
      5. Login as a student in a course and go to the participants page.
        • Confirm that there is no "Country" nor "City/town" columns in the participants table.
      1. Run Behat tests.
        • Confirm that there are no failures regarding to the removed "Country" and "City/town" columns in the participants table.
      Show
      $CFG->showuseridentity and $CFG->hiddenuserfields set to defaults. Login as a teacher in a course and go to the participants page. Confirm that there is no "Country" nor "City/town" columns in the participants table. Login as a student in a course and go to the participants page. Confirm that there is no "Country" nor "City/town" columns in the participants table. City and country in $CFG->showuseridentity Login as an admin. Navigate to Site administration / Users / Permissions / User policies . Under " Show user identity ", tick " City/town " and " Country " and save the changes. Login as a teacher in a course and go to the participants page. Confirm that you see the "Country" and "City/town" columns in the participants table. Login as a student in a course and go to the participants page. Confirm that there is no "Country" nor "City/town" columns in the participants table. City and country in $CFG->showuseridentity, but are also selected in $CFG->hiddenuserfields as well Login as an admin. Navigate to Site administration / Users / Permissions / User policies . Under " Hide user fields ", select City/town and Country and save the changes. Login as a teacher in a course and go to the participants page. Confirm that you see the "Country" and "City/town" columns in the participants table. Login as a student in a course and go to the participants page. Confirm that there is no "Country" nor "City/town" columns in the participants table. Run Behat tests. Confirm that there are no failures regarding to the removed "Country" and "City/town" columns in the participants table.

      Participants page randomly lists additional columns for city and country. There is no reason these should not be configurable via showuseridentity.

       

            jpataleta Jun Pataleta
            damyon Damyon Wiese
            Damyon Wiese Damyon Wiese
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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