Add ability to disable views

Bug #716346 reported by Douglas Cerna
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
Fix Released
Medium
Justas Sadzevičius

Bug Description

The SchoolTool skin allows "disabling" (filtering...) of viewlets. I'd like to have the same functionality for disabling some views in customized packages.

Changed in schooltool:
assignee: nobody → Justas Sadzevičius (justas-pov)
importance: Undecided → High
Changed in schooltool:
importance: High → Medium
Revision history for this message
Justas Sadzevičius (justas.sadzevicius) wrote :

      Added a "disabled" check for pages to raise NotFound (to be used in a plugin's overrides.zcml).

      Example:

      <flourish:page
        name="settings"
        for="schooltool.app.interfaces.ISchoolToolApplication"
        title="Server"
        class="schooltool.app.browser.app.ManageSite"
        permission="schooltool.edit"
        disabled="yes"
        />

Changed in schooltool:
status: New → Fix Committed
Changed in schooltool:
status: Fix Committed → Fix Released
milestone: none → 2.5.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.