Table of Contents

Module: PermissionMapping Zope-2.2.1-src/lib/python/AccessControl/PermissionMapping.py

Permission Mapping

Sometimes, we need an object's permissions to be remapped to other permissions when the object is used in specual ways. This is rather hard, since we need the object's ordinary permissions intact so we can manage it.

Imported modules   
import Acquisition
import ExtensionClass
from Owned import UnownableOwner
from Permission import pname
Functions   
aqwrap
getPermissionMapping
setPermissionMapping
  aqwrap 
aqwrap (
        object,
        wrapper,
        parent,
        )

  getPermissionMapping 
getPermissionMapping (
        name,
        obj,
        st=type( '' ),
        )

  setPermissionMapping 
setPermissionMapping (
        name,
        obj,
        v,
        )

Classes   
PM
Rewrapper
RoleManager

Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6