Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: Block permissions.

Block permissions: Difference between revisions

From MoodleDocs
No edit summary
(redirect)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Block capabilities==
#redirect [[Block settings]]
 
*[[Capabilities/moodle/site:manageblocks|moodle/site:manageblocks]]
*[[Capabilities/moodle/my:manageblocks|moodle/my:manageblocks]] (from 1.8 onwards)
*[[Capabilities/moodle/tag:editblocks|moodle/tag:editblocks]] (from 1.9 onwards)
*[[Capabilities/moodle/block:view|moodle/block:view]] (from 1.9 onwards)
 
==Hiding a block from guests==
 
{{Moodle 1.9}}In Moodle 1.9 onwards, the capability [[Capabilities/moodle/block:view|moodle/block:view]] allows control of which users can view blocks. This feature works with all blocks, including contributed blocks.
[[Image:Recent activity block header.png|thumb|Recent activity block header]]
To hide a particular block from guests:
# On the course homepage, click the "Turn editing on" button at the top-right of the page.
# Access the assign roles page via the assign roles icon (a face and mask) in the header of the block to be hidden.
# Click the "Override permissions" tab.
# Select the guest role.
# Set the capability [[Capabilities/moodle/block:view|moodle/block:view]] to prevent.
# Click the "Save changes" button.
 
Note: By default, only administrators are able to override permissions. Instructions on enabling teachers to override permissions can be found in [[Override permissions]].
 
==See also==
 
*[http://www.youtube.com/watch?v=x2zgpjSsbbM Video showing how to hide a block from guests in Moodle v1.9]
 
[[Category:Roles]]
[[Category:Block]]
 
 
[[de:Block-Rechte]]
[[eu:Blokeen_baimenak]]
[[fr:Permissions des blocs]]

Latest revision as of 10:02, 17 October 2011

Redirect to: