Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-15161

Category creation is only allowed by permisisons defined at system context

    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..

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    28/Jan/09