Table of Contents

Class: IConcretePermission ./src/peak/security/interfaces.py

An abstract permission applied to a specific object type

For example, "View content of Document" or "Content Manager of Folder". Concrete permissions allow separate security rules to be declared for an abstract permission, based on the type of object being accessed. The addRule method of a concrete permission is used to define security rules for concrete permissions. (Note: abstract permissions are actually concrete permissions themselves; they are roughly equivalent to concrete permissons on the type object.)

Base Classes   
Interface
Methods   
addRule
defaultDenial
getAbstract
  addRule 
addRule ( rule,  protocol=IPermissionChecker )

Declare rule an adapter factory from permission to protocol

  defaultDenial 
defaultDenial ()

Return a default security.Denial() to be used when a check fails

  getAbstract 
getAbstract ()

Return an IAbstractPermission for this permission


Table of Contents

This document was automatically generated on Tue Feb 17 19:55:55 2004 by HappyDoc version 2.1