-
Bug
-
Resolution: Fixed
-
Major
-
1.8.3
-
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?