Method summary
- __delattr__(self, name)
- __getattribute__(self, name)
- __init__(self, proxied, permissions, show = True)
- __new__(cls, proxied, permissions, show = True)
- __nonzero__(self)
- __repr__(self)
- __setattr__(self, name, value)
- __str__(self)
Methods
- __delattr__(self, name)
- __getattribute__(self, name)
- __init__(self, proxied, permissions, show = True)
Initialise the instance. proxied is the object whose enabled and visible states are managed according to the permissions of the current user. permissions is a list of permissions to attach to the object. show is set if the proxied object should be visible when it is disabled.
- __new__(cls, proxied, permissions, show = True)
Apply a set of permissions to an object. This may be done by creating a proxy or by modifying the object in situ depending on its type.
- __nonzero__(self)
- __repr__(self)
- __setattr__(self, name, value)
- __str__(self)