Moodle

Course creator can't create subcategories, when assigned in category context

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.4
  • Component/s: Roles / Access
  • Labels:
    None
  • Environment:
    Linux debian etch
    mysql 5.0.32
    php 5.2.0.8.10
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

In Moodle 1.9 Beta 4 + (2007101508.08) when I assign the course creator role in category context it is impossible to create a subcategory.

This worked before in 1.8.4.

Details:

The capability of creating categories is granted to the role of course creator on site context. (default settings)
After assigning the role it is possible to join the editing mode in a category, and the button for creating a subcategory is shown.
Clicking this button will display a form, requesting the information for the new subcategory.

But now, a click on the submit/save button won't show the expected page, saying "change saved", but the editing form again.

It's unclear if the feature, giving a course creator the capability to create subcategories on category context and below, was taken away since 1.8.4 or this is a bug. Anyway it is a feature which should be available. Otherwise you only can create a course creator as a global role, making not much sense due to the fact that such an assignment works for the whole site. Many want restrict the permission of creating categories on a defined region like a category context and beneath.

Jörg

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

assigning to NIcolas, please have a look at this

Show
Petr Škoda (skodak) added a comment - assigning to NIcolas, please have a look at this
Hide
Nicolas Connault added a comment -

I think you're mistaken. The course creator role in 1.8 and above does NOT have the capability to create categories by default. Of course, you can give it to him in order to achieve the desired result.

Show
Nicolas Connault added a comment - I think you're mistaken. The course creator role in 1.8 and above does NOT have the capability to create categories by default. Of course, you can give it to him in order to achieve the desired result.
Hide
Jörg Knegten added a comment -

Hello Nicolas,

thank you for your reply.

Surely I know, that the permission to create a category is not given by default.

So I gave this persmisson to the course creator on site level before trying to create a subcategory.

I documentet my steps with some screenshots in a pdf, which was uploaded now as an attachment.

Please take an additional look at this.

Jörg

Show
Jörg Knegten added a comment - Hello Nicolas, thank you for your reply. Surely I know, that the permission to create a category is not given by default. So I gave this persmisson to the course creator on site level before trying to create a subcategory. I documentet my steps with some screenshots in a pdf, which was uploaded now as an attachment. Please take an additional look at this. Jörg
Hide
Helen Foster added a comment -

Reopening, as this does indeed appear to be a bug.

Jörg, thanks for your comments and pdf.

Show
Helen Foster added a comment - Reopening, as this does indeed appear to be a bug. Jörg, thanks for your comments and pdf.
Hide
Jörg Knegten added a comment -

Hi Helen,
thanks for taking an effort on this again.
Enjoy the lovely evening
Jörg

Show
Jörg Knegten added a comment - Hi Helen, thanks for taking an effort on this again. Enjoy the lovely evening Jörg
Hide
Tim Hunt added a comment -

Grabbing a bunch of related course category editing bugs that I plan to work on. Sorry for all the emails.

Show
Tim Hunt added a comment - Grabbing a bunch of related course category editing bugs that I plan to work on. Sorry for all the emails.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: