Add ability to disable views
Bug #716346 reported by
Douglas Cerna
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 |
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.
Added a "disabled" check for pages to raise NotFound (to be used in a plugin's overrides.zcml).
Example:
< flourish: page
name=" settings"
for="schooltoo l.app.interface s.ISchoolToolAp plication"
title= "Server"
class= "schooltool. app.browser. app.ManageSite"
permission= "schooltool. edit"
disabled= "yes"
/>