Implement permission-based roles.
Under normal circumstances, our __of__ method will be
called with an unwrapped object. The result will then be called
with a wrapped object, if the original object was wrapped.
To deal with this, we have to create an intermediate object.
Methods
|
|
__init__
__of__
|
|
__init__
|
__init__ (
self,
name,
default=( 'Manager', ),
)
|
|
__of__
|
__of__ ( self, parent )
|
|