On Wed, Jul 28, 1999 at 01:04:43AM +0200, Florian Mueller wrote:
G'Day!
How can I get to the source of "manage_access"? That's the link if you click on the security tab and does exactely what I want to do: Checking in DTML if user X has permission Y to access file Z.
wallace$ pwd /extra/src/Zope/lib wallace$ find . -name \*.py -o -name -*.dtml | xargs grep 'def manage_access'./python/AccessControl/Role.py: def manage_access( wallace$ So, {ZOPE_INSTALL}/lib/python/AccessControl is the place to look, in particular, in Role.py. Remember that any method beginning with _ cannot be called from DTML. Ross -- Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> NSBRI Research Scientist/Programmer Computer and Information Technology Institute Rice University, 6100 S. Main St., Houston, TX 77005