File: README.txt

package info (click to toggle)
zope-lockablefolder 0.1.0-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 144 kB
  • ctags: 20
  • sloc: python: 139; sh: 41; makefile: 34; perl: 26
file content (18 lines) | stat: -rw-r--r-- 754 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
LockableFolder Product

  This product provides a variant of the standard Folder that
  can restrict access to its contents that have been explicitly 
  set as inaccessible, so they are no longer visible as a URL path
  but can still be accessed via DTML/Script/ZPT TALES.
  
  After locking, objects are no longer accessible, even through 
  management screens. They must be unlocked so they can be managed
  again. 
  
How it works

  This product subclasses the Folder that comes with the standard
  Zope distribution. It adds a 'locked' attribute that tracks whether
  the subobject is locked or not. It works by overriding the '___bobo___traverse___' 
  method so that if the object is locked, it returns a 'Not Found' 
  message.