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

If modules are restricted, courses created by a user with 'course creator' role don't contain any modules

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.4
    • 1.9.5, 2.0
    • Course
    • None
    • PostgreSQL
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      If 'restrictedmodulesfor' is set to 'All courses', 'restrictbydefault' is set and 'defaultallowedmodules' are selected, courses created by a user with 'course creator' role don't contain any modules.

      Reproduce:
      1. visit 'Security' 'Modules security' in the 'Site Administration' menu
      2. set 'restrictmodulesfor'
      3. set 'restrictbydefault'
      4. select some 'defaultallowedmodules'
      5. save changes
      6. change to a user with a 'course creator' role
      7. create a new course

      Result:
      If you want to edit the course afterwards you don't have any ressources/activities available.

      Expected:
      I would expect the course to have at least the defaultallowedmodules in it.

      This seems related to MDL-13567

      Attachments

        Issue Links

          Activity

            People

              mjollnir Penny Leach
              adisch Adrian Schlegel
              Nicolas Connault Nicolas Connault
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/May/09