Trees | Index | Help |
|
---|
Package AccessControl :: Module Owned :: Class Owned |
|
object
--+ |Base
--+ | Owned
Item
,
ZItem
,
ZItem
Method Summary | |
---|---|
Change the ownership to the given user. | |
Get the owner | |
Return a tuple, (userdb_path, user_id) for the owner. | |
Get the owner, modestly wrapped in the user folder. | |
manage_fixupOwnershipAfterAdd(self)
| |
Get ownership info for display | |
userCanTakeOwnership(self)
| |
Inherited from Base :
__getattribute__ ,
__getnewargs__ ,
__getstate__ ,
__new__ ,
__reduce__ ,
__setstate__
Inherited from object :
__init__ ,
__delattr__ ,
__hash__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Class Variable Summary | |
---|---|
tuple |
__ac_permissions__ = (('View management screens', ('mana...
|
Implements |
__implemented__ = <implementedBy AccessControl.Owned.Own...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
tuple |
changeOwnership__roles__ = ()
|
tuple |
getOwner__roles__ = ()
|
tuple |
getOwnerTuple__roles__ = ()
|
tuple |
getWrappedOwner__roles__ = ()
|
PermissionRole |
manage_changeOwnershipType__roles__ = <PermissionRole ob...
|
tuple |
manage_fixupOwnershipAfterAdd__roles__ = ('Manager',)
|
tuple |
manage_options = ({'action': 'manage_owner', 'filter': <...
|
DTMLFile |
manage_owner = <App.special_dtml.DTMLFile object at 0x13...
|
PermissionRole |
manage_owner__roles__ = <PermissionRole object at 0xf410...
|
PermissionRole |
manage_takeOwnership__roles__ = <PermissionRole object a...
|
PermissionRole |
owner_info__roles__ = <PermissionRole object at 0xf410>
|
Method Details |
---|
changeOwnership(self, user, recursive=0)Change the ownership to the given user. If 'recursive' is true then also take ownership of all sub-objects, otherwise sub-objects retain their ownership information. |
getOwner(self, info=0, aq_get=<built-in function aq_get>, UnownableOwner=[], getSecurityManager=<function getSecurityManager at 0x11f4970>)Get the owner If a true argument is provided, then only the owner path and id are returned. Otherwise, the owner object is returned. |
getOwnerTuple(self)Return a tuple, (userdb_path, user_id) for the owner. o Ownership can be acquired, but only from the containment path. o If unowned, return None. |
getWrappedOwner(self)Get the owner, modestly wrapped in the user folder. o If the object is not owned, return None. o If the owner's user database doesn't exist, return Nobody. o If the owner ID does not exist in the user database, return Nobody. |
owner_info(self)Get ownership info for display |
Class Variable Details |
---|
__ac_permissions__
|
__implemented__
|
__providedBy__
|
__provides__
|
changeOwnership__roles__
|
getOwner__roles__
|
getOwnerTuple__roles__
|
getWrappedOwner__roles__
|
manage_changeOwnershipType__roles__
|
manage_fixupOwnershipAfterAdd__roles__
|
manage_options
|
manage_owner
|
manage_owner__roles__
|
manage_takeOwnership__roles__
|
owner_info__roles__
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:10 2007 | http://epydoc.sf.net |