Moodle

Students can not unenroll themselves from courses

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.4
  • Fix Version/s: 1.9
  • Component/s: Roles / Access
  • Labels:
    None
  • Environment:
    all
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

We noticed this after upgrading from 1.6.4+ (2006050540) to 1.8.4+ (2007021541),
might be related or not, yet to confirm.

Problem: Student can not unenroll themselves from courses
student role is created with 'moodle/role:unassignself' as 'Not set',
thus unenroll link from admin block or profile page is not shown nor
a student can unenroll at all.

Looking closely seems that this is defined as the default for student role,
it happened as well with new courses and new students created under
version 1.8.4+.

Solution: set 'moodle/role:unassignself' capability as 'Allow'.

Issue Links

Activity

Hide
Paulo Matos added a comment -

The symptoms might lead users to MDL-12545 and MDL-10241, that's the reason for creating the link!

Show
Paulo Matos added a comment - The symptoms might lead users to MDL-12545 and MDL-10241, that's the reason for creating the link!
Hide
Petr Škoda (skodak) added a comment -

This should be already fixed everywhere in 1.9, partialy in 1.8.x too
thanks for the report.

Show
Petr Škoda (skodak) added a comment - This should be already fixed everywhere in 1.9, partialy in 1.8.x too thanks for the report.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: