Moodle

Hidden role assignments arenot carried over to metacourse

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.5
  • Fix Version/s: 2.0
  • Component/s: Course, Roles / Access
  • Labels:
    None
  • Environment:
    any
  • Database:
    Any
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Assign user to rolein normal course using Hidden Assignment
User is nit visible to student

Create metacourse, add above course as child course.
Log in as student, enter metacourse, click participants link users with hidden assignment in child course are visible on the participant list.

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment - - edited

Unfortunately metacourses have several other functional and performance problems. Hidden enrolments might be considered a workaround for known course participation x course view problem.

Enrolment infrastructure is planned to be revisited in 2.0.

Show
Petr Škoda (skodak) added a comment - - edited Unfortunately metacourses have several other functional and performance problems. Hidden enrolments might be considered a workaround for known course participation x course view problem. Enrolment infrastructure is planned to be revisited in 2.0.
Hide
Ray Lawrence added a comment -

OK, thanks ( )

Show
Ray Lawrence added a comment - OK, thanks ( )
Hide
Steven Williams added a comment -

I just came here to report this same behavior – any updates on how this may be resolved in 2.0 (or sooner) would be appreciated.

Show
Steven Williams added a comment - I just came here to report this same behavior – any updates on how this may be resolved in 2.0 (or sooner) would be appreciated.
Hide
Gabriel Mazetto added a comment -

There is a similar bug report for 1.9.x branch, that i'm linking

Show
Gabriel Mazetto added a comment - There is a similar bug report for 1.9.x branch, that i'm linking
Hide
Patrick Pollet added a comment -

I have given a patch for moodle 1.9.4+ in http://tracker.moodle.org/browse/MDL-18050
Cheers

Show
Patrick Pollet added a comment - I have given a patch for moodle 1.9.4+ in http://tracker.moodle.org/browse/MDL-18050 Cheers
Hide
Petr Škoda (skodak) added a comment -

Hello,
the enrolments were reimplemented in 2.0, hidden role assignments are not available any more. Users are either enrolled or not - most places are now going to use this information instead of hidden role assignments which were implemented as a workaround for missing enrolment information.
You can now create a new role with the redefined "moodle/course:view" capability - this role would be allowed to access course without the enrolment.
The meta course syn is different too, it synchronises only enrolled users.
Hopefully this new system should be a lot more flexible.

Thank you for the report

Petr Skoda

Show
Petr Škoda (skodak) added a comment - Hello, the enrolments were reimplemented in 2.0, hidden role assignments are not available any more. Users are either enrolled or not - most places are now going to use this information instead of hidden role assignments which were implemented as a workaround for missing enrolment information. You can now create a new role with the redefined "moodle/course:view" capability - this role would be allowed to access course without the enrolment. The meta course syn is different too, it synchronises only enrolled users. Hopefully this new system should be a lot more flexible. Thank you for the report Petr Skoda

Dates

  • Created:
    Updated:
    Resolved: