]> git.mjollnir.org Git - moodle.git/commit
blocks: MDL-19399 proper permissions checks for editing blocks.
authortjhunt <tjhunt>
Thu, 30 Jul 2009 03:44:10 +0000 (03:44 +0000)
committertjhunt <tjhunt>
Thu, 30 Jul 2009 03:44:10 +0000 (03:44 +0000)
commitd14edf06eec9a1454644f0cef2208d4b72db69a7
tree13e5f28d0c0bfd04cd226bf94374424780bd4091
parent0a4e299f7385ec72723c404d2d8fd6ed8efd7892
blocks: MDL-19399 proper permissions checks for editing blocks.

In particular for editing sticky blocks. If the admin addes one at site level,
then the teacher should not be able to change its configuration from
the course page, but should be able to set the position on this page.
blocks/edit_form.php
blocks/moodleblock.class.php
lang/en_utf8/role.php
lib/blocklib.php
lib/db/access.php
version.php