Moodle Community Sites

User assigned the role of non-editing teacher in the module context is unable to access a hidden forum

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Cannot Reproduce
  • Component/s: moodle.org
  • Labels:
    None

Description

Users assigned the role of non-editing teacher (with moodle/course:viewhiddenactivities allowed) in the module context can see the link to a hidden forum but obtain the message "This forum is currently hidden" when attempting to access it.

Activity

Hide
Helen Foster added a comment -

Sorry I can't remember why I reported this issue, it seems long ago now and no longer relevant with moodle.org using 2.0, so I'm going to resolve it as cannot reproduce.

Show
Helen Foster added a comment - Sorry I can't remember why I reported this issue, it seems long ago now and no longer relevant with moodle.org using 2.0, so I'm going to resolve it as cannot reproduce.
Hide
Petr Škoda (skodak) added a comment -

there was a regression that has_capability() was always returning false, it was fixed after a few days, thanks for the report!

Show
Petr Škoda (skodak) added a comment - there was a regression that has_capability() was always returning false, it was fixed after a few days, thanks for the report!
Hide
Helen Foster added a comment -

Wow, you have a good memory Petr! Thanks for fixing the issue

Show
Helen Foster added a comment - Wow, you have a good memory Petr! Thanks for fixing the issue
Hide
Anthony Borrow added a comment -

Helen - I was going to test this on 2.0 and see if it is still an issue. Do you know of any courses that have non-editing teachers? Peace - Anthony

Show
Anthony Borrow added a comment - Helen - I was going to test this on 2.0 and see if it is still an issue. Do you know of any courses that have non-editing teachers? Peace - Anthony
Hide
Petr Škoda (skodak) added a comment -

I remember it because it was embarrassing regression, it might have been another regression. I have checked the code in require_login() where the moodle/course:viewhiddenactivities is tested and it looks ok

Show
Petr Škoda (skodak) added a comment - I remember it because it was embarrassing regression, it might have been another regression. I have checked the code in require_login() where the moodle/course:viewhiddenactivities is tested and it looks ok
Hide
Anthony Borrow added a comment -

Helen - I could not find any courses where there were hidden forums and a non-editing teacher. If you find any, let me know and I will try to test and see if this is still an issue. Peace - Anthony

Show
Anthony Borrow added a comment - Helen - I could not find any courses where there were hidden forums and a non-editing teacher. If you find any, let me know and I will try to test and see if this is still an issue. Peace - Anthony

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: