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

Roles displayed in the users profile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.4, 1.9, 2.0
    • 1.8.3
    • Roles / Access
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      In the user profile roles are always displayed, no matter whether these are hidden role assignments.

      In user/view.php the function get_user_roles_in_context() is called to display all roles a a user in the given (course) context.
      This function implemented in lib/accesslib.php does not check whether the role assignment is hidden or not. Is this a bug or a feature?

            moodle.com Moodle HQ
            ghillenb Gisela Hillenbrand
            Dongsheng Cai Dongsheng Cai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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