-
Sub-task
-
Resolution: Fixed
-
Minor
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
-
wip-
MDL-42318-master -
Preparation.
Create uses with two different roles.
User1 have moodle/category:manage, moodle/category:viewhiddencategories, moodle/course:viewhiddencourses/.
User2 have moodle/category:manage and do not have moodle/category:viewhiddencategories, moodle/course:viewhiddencourses/.
Create categories with first user
Cat1. Visible
Cat2. Hidden
Cat3. Visible.
Problem.
Manage categories them with user2. You'll see only Cat1 and Cat3. Move Cat3 up. You'll see that Cat3 is over Cat1. But if you reload page, you'll see that Cat3 is under Cat1. That's because actual ordering ic Cat1, Cat3, Cat2 now (check with user1).
Same for courses reordering (if moving with arrows).
This may be very confusing if having many hidden categories.
In course listing for user2, you'll see "Showing all 3 courses", when he see only 2 courses.