Hide Restrictions

Local plugins ::: local_hiderestrictions
Maintained by Brian Pool
This simply adds a "Show Restrictions" Hide Restrictions" toggle in the course menu. This allows instructors to have a cleaner view of the course without all the restrictions showing. Default is "Show Restrictions" so instructors see no change until they decide to toggle them off. Using in a Moodle 4.5 production environment.
Latest release:
1 sites
1 fans
Current versions available: 1

The Show/Hide Activity Restrictions plugin provides a simple way for teachers and course administrators to toggle the visibility of all activity and resource restrictions on a course’s main page.

Normally, Moodle displays restriction details (e.g., “Not available unless…” or “Available from…”) under each activity when conditional access rules are applied. While this information is helpful during course setup, it can quickly clutter the course view—especially in complex courses with many restrictions.

This plugin adds a “Show Restrictions / Hide Restrictions” option in the Course Administration section.

  • Hide Restrictions: Cleans up the course page by hiding all restriction messages from view, giving a cleaner, student-focused presentation.

  • Show Restrictions: Restores the restriction messages so teachers can review and verify conditional access settings at any time.

Purpose and Motivation

This plugin was created to:

  • Improve course readability: Many teachers prefer a cleaner main page without the visual noise of access conditions.

  • Simplify presentation during instruction: Allows teachers to toggle restriction details off when projecting or sharing the course view with students.

  • Enhance workflow for course builders: Provides quick access to restriction visibility without editing each activity.

  • Maintain full control: Teachers can switch between setup and presentation views instantly.

By integrating this toggle into the Course Administration area, the plugin offers a practical balance between transparency for course design and simplicity for day-to-day classroom use.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Brian Pool (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

குறிப்புரையைக் காட்டு
Please login to post comments