Moodle

Can not override block view permission

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.2
  • Fix Version/s: 1.9.3
  • Component/s: Roles / Access
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

I sometimes need to hide blocks from students and have never had a problem overriding roles/permissions until the latest version of 1.9.2+. When logged in as admin, and you get to the stage where you should be able to set permissions and say hide from students you don't get any choices but a messages that says "no capabilities available in this context". I may be missing something simply, but I've never touched "roles" in either install except in the manner I've described. Two screenshots attached.

Activity

Hide
Todd Thornton added a comment -

Petr,

I mucked the comments up as I was working on two different things at the same time and posted a coment in the wrong place, but please ignore the close bug request. The behavior I described in the original report is still what I'm experiencing. I went back and changed my mistake, but of course it still shows up in history.

Todd

Show
Todd Thornton added a comment - Petr, I mucked the comments up as I was working on two different things at the same time and posted a coment in the wrong place, but please ignore the close bug request. The behavior I described in the original report is still what I'm experiencing. I went back and changed my mistake, but of course it still shows up in history. Todd
Hide
Petr Škoda (skodak) added a comment -

I am going to fix it tomorrow in cvs

Show
Petr Škoda (skodak) added a comment - I am going to fix it tomorrow in cvs
Hide
Petr Škoda (skodak) added a comment -

fixed in cvs, to get the update you can use cvs, tomorrow daily build or next Wednesday weekly build, details are available from the version tab above.

thanks for the report

Show
Petr Škoda (skodak) added a comment - fixed in cvs, to get the update you can use cvs, tomorrow daily build or next Wednesday weekly build, details are available from the version tab above. thanks for the report
Hide
Tim Hunt added a comment -

Tested and reviewed code, and I can confirm that this works.

Show
Tim Hunt added a comment - Tested and reviewed code, and I can confirm that this works.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: