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

Add custom user field support to group management screens

XMLWordPrintable

    • MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • MDL-71186-master
    • Hide
      1. Login as Admin
      2. Navigate to Site administration -> Users -> User profile fields
      3. Create a new "Text input" profile field:
        1. Set "Maximum length" to 200
      4. Login as another user
      5. Navigate to User Menu -> Profile -> Edit profile
      6. Set a value for the profile field you created and save changes
      7. Go to Site administration > Users > Permissions > User policies and tick the checkbox next to your new field in the 'Show user identity' setting.
      8. Go to a course and enrol the test user.
      9. Navigate to the course -> Participants -> [Cog action menu] -> Groups
      10. Create a new group
      11. Press "Add/remove users"
      12. Search for your test user in 'Potential members' using the value of their custom profile field.
        1. Expected: The user should appear in the 'Potential members' section with the value of the custom profile field in brackets next to their name (along with any other identity fields that were selected)
      13. Add the user to the group and click 'Back to groups'
      14. Select your new group in the list
        1. Expected: The user should appear in the 'Members of' section with the value of the custom profile field in brackets next to their name (along with any other identity fields that were selected)
      15. Go to the 'Overview' tab
        1. Expected: The user should appear in the 'Not in a grouping' section, next to the new group, with the value of the custom profile field in brackets next to their name (along with any other identity fields that were selected)
      Show
      Login as Admin Navigate to Site administration -> Users -> User profile fields Create a new "Text input" profile field: Set " Maximum length " to 200 Login as another user Navigate to User Menu -> Profile -> Edit profile Set a value for the profile field you created and save changes Go to Site administration > Users > Permissions > User policies and tick the checkbox next to your new field in the 'Show user identity' setting. Go to a course and enrol the test user. Navigate to the course -> Participants -> [Cog action menu] -> Groups Create a new group Press "Add/remove users" Search for your test user in 'Potential members' using the value of their custom profile field. Expected : The user should appear in the 'Potential members' section with the value of the custom profile field in brackets next to their name (along with any other identity fields that were selected) Add the user to the group and click 'Back to groups' Select your new group in the list Expected : The user should appear in the 'Members of' section with the value of the custom profile field in brackets next to their name (along with any other identity fields that were selected) Go to the 'Overview' tab Expected : The user should appear in the 'Not in a grouping' section, next to the new group, with the value of the custom profile field in brackets next to their name (along with any other identity fields that were selected)

      The main group management screens should support custom user fields when these are selected in showuseridentity admin setting:

      group/index.php - show on list of group members when a group is selected
      group/members.php - show on list of group members & support when searching for members to add/remove
      group/overview.php - show on the list of people in (or not in) a group

            kransom Katie Ransom
            quen Sam Marshall
            Sam Marshall Sam Marshall
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 28 minutes
                3h 28m

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