-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5
Following the addition of the bulk deletion of cohorts in 4.5, we noticed that the “Delete Selected” button in the Cohorts page is displayed for certain roles who don't have bulk deletion rights, even though the checkbox on each cohort row is not visible.
Upon hovering, the button changes colour and a selecting hand appears.
This may be seen as a malfunction for users who don't have bulk deletion permission, as it makes it look like they could use this functionality but it's not working.
In the backend, there is no permission check on visibility of the ‘Delete selected’ button, whereas the checkboxes do have a permission check on them.
Is there scope to change the code so that permissions can define whether a user can or cannot see the button (or at least can see it in a greyed out/unactionable state)?
- has a non-specific relationship to
-
MDL-52046 Provide option to bulk delete cohorts
-
- Closed
-