# stub zope2-aware decsec def initialize(global_conf,middleware): # set up DB pass def before_check(environ): # traverse pass def request_principals(environ): # we use zope roles as decsec principals. we need some way of # quickly determining which roles a user has in a particular # context. pass def request_acl(environ): # role-permission maps are ACEs where the action is always allow. pass def request_permission(environ): # we need some way of quickly determining what permission protects # the result of a traversal. __ac_permissions__ is the likely # suspect. pass def after_check(environ): # do nothing. pass