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

Add badges to user short profile page

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.1
    • Fix Version/s: 2.7
    • Component/s: Badges
    • Testing Instructions:
      Hide
      1. Add 2 students to a course.
      2. Create a badge. Award it to Student 1
      3. Login as Student 2.
      4. In the course, go to the participants list, and click an Student 1.
      5. Verify you can see the badge awarded to Student 1.
      6. As Admin, remove the 'moodle/badges:viewotherbadges' permission from the Authenticated User role.
      7. As Student 2, again go to Student 1's profile.
      8. Verify you can not view the awarded badge from the profile page.
      Show
      Add 2 students to a course. Create a badge. Award it to Student 1 Login as Student 2. In the course, go to the participants list, and click an Student 1. Verify you can see the badge awarded to Student 1. As Admin, remove the 'moodle/badges:viewotherbadges' permission from the Authenticated User role. As Student 2, again go to Student 1's profile. Verify you can not view the awarded badge from the profile page.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:

      Description

      There is a permission to view public badges, which is set for all authed users, but badges are only displayed on the detailed profile page, which most users can't (and shouldn't) be able to view.

      We think that badges should be added to the 'short' profile (user/view.php) so that students can view the badges of other students, if permissions ares set that way.

        Attachments

          Activity

            People

            Assignee:
            emerrill Eric Merrill
            Reporter:
            emerrill Eric Merrill
            Peer reviewer:
            Yuliya Bozhko
            Integrator:
            Damyon Wiese
            Tester:
            Andrew Nicols
            Participants:
            Component watchers:
            Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/May/14