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

Teacher-role cannot add cohort sync to a course and moodle/cohort:config is missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.6.4, 2.7.1
    • Fix Version/s: None
    • Component/s: Cohorts, Course, Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE

      Description

      Hello,

      Since Moodle 2.6.4 Teacher role cannot add "cohort sync" enrolment method to a course, problem still persists in Moodle 2.7.1.

      The help file states that https://docs.moodle.org/26/en/Capabilities/enrol/cohort:config

      The required capabilities for setting up a cohort sync are:

      moodle/course:enrolconfig in the course context
      moodle/cohort:config in the course context
      moodle/cohort:view in the same context as cohort

      But there is no moodle/cohort:config option when defining roles.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              urpokarhu Jari Vilkman
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: