Note: This documentation is for Moodle 2.7. For up-to-date documentation see Block permissions.

Block permissions

From MoodleDocs
Revision as of 08:20, 6 March 2008 by Helen Foster (talk | contribs) (block capabilities, hiding a block from guests)

Block capabilities

Hiding a block from guests

Template:Moodle 1.9In Moodle 1.9 onwards, the capability moodle/block:view allows control of which users can view blocks. This feature works with all blocks, including contributed blocks.

To hide a particular block from guests:

  1. Access the assign roles page via the assign roles icon (a face and mask) in the header of the block to be hidden.
  2. Click the "Override permissions" tab.
  3. Select the guest role.
  4. Set the capability moodle/block:view to prevent.
  5. 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