-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.3, 2.7
-
Any
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
master_
MDL-45623 -
The "role delete" confirmation page currently reports the wrong number of users assigned to a role, if a user is assigned to the same role in multiple contexts.
Steps to reproduce
- Create a new role
- Allow the role to be assigned in the system and category contexts
- Click 'Assign system roles' and assign the role to a user in the system context
- Enter the 'Miscellaneous' category and assign the same user the role in the category context
- Return to define roles and click the delete icon for the test role.
What happens
The confirmation message reads "Currently this role is assigned to 2 users."
What should happen
The confirmation message should read "Currently this role is assigned to 1 users."
- will help resolve
-
MDL-43130 Users assigned context role via multiple components are counted multiple times
- Closed