Table of Contents

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

A conceptual permission, group, or role

For example, "View content", or "Content Manager" would be "abstract permissions". The easiest way to create an abstract permission is to subclass security.Permission, e.g.:

        class ViewContent(security.Permission):
            "Permission to view an object's content"

That's all that's needed, since abstract permissions are simply a marker that denotes the idea of a particular permission.

Base Classes   
IConcretePermission
    Interface
Methods   
of
  of 
of ( protectedObjectType )

Return a subclass IConcretePermission for protectedObjectType


Table of Contents

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