Package AccessControl :: Module PermissionMapping :: Class RoleManager
[show private | hide private]
[frames | no frames]

Class RoleManager

Known Subclasses:
RoleManager

Method Summary
  manage_getPermissionMapping(self)
Return the permission mapping for the object This is a list of dictionaries with: permission_name -- The name of the native object permission class_permission -- The class permission the permission is mapped to.
  _isBeingAccessedAsZClassDefinedInstanceMethod(self)
  _isBeingUsedAsAMethod(self, REQUEST, wannaBe)
  manage_setPermissionMapping(self, permission_names, class_permissions, REQUEST)
Change the permission mapping

Class Variable Summary
Implements __implemented__ = <implementedBy AccessControl.Permissio...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
tuple manage_getPermissionMapping__roles__ = ('Manager',)
tuple manage_setPermissionMapping__roles__ = ('Manager',)

Method Details

manage_getPermissionMapping(self)

Return the permission mapping for the object

This is a list of dictionaries with:

  permission_name -- The name of the native object permission

  class_permission -- The class permission the permission is
     mapped to.

manage_setPermissionMapping(self, permission_names=None, class_permissions=None, REQUEST=None)

Change the permission mapping

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy AccessControl.PermissionMapping.RoleManager>            

__providedBy__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x1569eb0>        

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x1569eb0>        

manage_getPermissionMapping__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_setPermissionMapping__roles__

Type:
tuple
Value:
('Manager',)                                                           

Generated by Epydoc 2.1 on Thu Aug 16 09:55:08 2007 http://epydoc.sf.net