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

Respect the capability for displaying the fullname

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Setup

      1. Log in as admin
      2. Navigate to Users > Permissions > User policies
      3. Set Full name format to "firstname"
      4. Set Alternative full name format to "firstname lastname lastname"
      5. Press Save changes
      6. Create three new users:
        • Terry Teacher
        • Sally Student
        • Sanjeet Student
      7. Create a new course
      8. Enrol Terry as a teacher, and Sally/Sanjeet as students, in the new course
      9. Navigate to course participants
      10. Select Permissions from the Actions menu
      11. In the Advanced role override select Teacher
      12. Prohibit the Always see full names of users capability

      Test

      1. Log in as Terry Teacher
      2. Navigate to previously created course
      3. Press Participants
      4. Select Groups from the Actions menu
      5. Press Create group
      6. Give it a name and press Save changes
      7. Select the group and press Add/remove users
      8. Confirm that Potential members only displays the users' first name
      9. Add Sally/Sanjeet to your new group
      10. Confirm that Group members only displays the users' first name
      11. Press Back to groups
      12. Confirm that Members of: [your group]) only displays users' first name
      13. Press Auto-create groups
      14. Set Group/member count to 2
      15. Set Select members with role to All
      16. Press Preview
      17. Confirm that Groups preview only displays the users' first name
      Show
      Setup Log in as admin Navigate to Users > Permissions > User policies Set Full name format to "firstname" Set Alternative full name format to "firstname lastname lastname" Press Save changes Create three new users: Terry Teacher Sally Student Sanjeet Student Create a new course Enrol Terry as a teacher, and Sally/Sanjeet as students, in the new course Navigate to course participants Select Permissions from the Actions menu In the Advanced role override select Teacher Prohibit the Always see full names of users capability Test Log in as Terry Teacher Navigate to previously created course Press Participants Select Groups from the Actions menu Press Create group Give it a name and press Save changes Select the group and press Add/remove users Confirm that Potential members only displays the users' first name Add Sally/Sanjeet to your new group Confirm that Group members only displays the users' first name Press Back to groups Confirm that Members of: [your group]) only displays users' first name Press Auto-create groups Set Group/member count to 2 Set Select members with role to All Press Preview Confirm that Groups preview only displays the users' first name
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:

      Description

      In MDL-67245 a bug has been fixed for taking into account the 'moodle/site:viewfullnames' capability when displaying the fullname.

      It should be backported to stables also.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Amaia Anabitarte
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Mar/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 25 minutes
                  2h 25m