Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.1
-
Fix Version/s: 1.9.4
-
Component/s: Roles / Access
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
First noticed by the following steps:
1/ Assign a user a role which has moodle/category:create allowed to a category
2/ As that user, try to add a subcategory from the category
3/ The form will be displayed to add a new category
4/ Submiting the form returns you back to the form
Looking at the top of categoryedit.php seems to indicate that when categories are being added with also use system context.. Need to dig further..
When I looked at this I was actually assigning Admin rights at category level (which works). At the time there wasn't even a UI for adding categories at other than site level.