Add ability to disable views

Bug #716346 reported by Douglas Cerna on 2011-02-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
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

      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  Edit
Everyone can see this information.

Other bug subscribers