Moodle

Hidden teachers are viewable when not enroled in a course

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.7.2
  • Fix Version/s: 1.8.3, 1.9
  • Component/s: Roles / Access
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE

Description

Related to MDL-7552. Hidden assignments are not hidden in the screen shown by course/enrol.php when the user is not enroled.

Activity

Hide
Yu Zhang added a comment -

Hi Pablo,

I have checked the code, could you please make sure

1) You are checking with a student account with no moodle/role:viewhiddenassigns capability (admins will still see hidden teachers)
2) The teacher has no other visible role assignments with moodle/course:update capability

Cheers,

Yu

Show
Yu Zhang added a comment - Hi Pablo, I have checked the code, could you please make sure 1) You are checking with a student account with no moodle/role:viewhiddenassigns capability (admins will still see hidden teachers) 2) The teacher has no other visible role assignments with moodle/course:update capability Cheers, Yu
Hide
Yu Zhang added a comment -

fixed in 1.8 and HEAD

Show
Yu Zhang added a comment - fixed in 1.8 and HEAD

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: