| Trees | Index | Help |
|---|
| Package CMFPlone :: Module MembershipTool :: Class MembershipTool |
|
ActionProviderBase --+
|
object --+ |
| |
Base --+ |
| |
EtagSupport --+ | |
| | |
LockableItem --+ |
| |
Resource --+ |
| |
Collection --+ |
| |
object --+ | |
| | |
Base --+ | |
| | |
FindSupport --+ |
| |
object --+ | |
| | |
Base --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
CopySource --+ | |
| | |
Node --+ | | |
| | | |
Element --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
Owned --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
EtagSupport --+ | | | |
| | | | |
LockableItem --+ | | |
| | | |
Resource --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
Tabs --+ | |
| | |
Traversable --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
UndoSupport --+ | |
| | |
Item --+ |
| |
object --+ | |
| | |
Base --+ | |
| | |
EtagSupport --+ | | |
| | | |
LockableItem --+ | |
| | |
Resource --+ | |
| | |
Collection --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
CopyContainer --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
Navigation --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
object --+ | | | |
| | | | |
Persistent --+ | | |
| | | |
Persistent --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
Tabs --+ | |
| | |
Traversable --+ | |
| | |
object --+ | | |
| | | |
Base --+ | | |
| | | |
Acquirer --+ | |
| | |
ObjectManager --+ |
| |
object --+ | |
| | |
Base --+ | |
| | |
Node --+ | | |
| | | |
Element --+ | | |
| | | |
ElementWithAttributes --+ | |
| | |
PropertyManager --+ |
| |
object --+ | |
| | |
Base --+ | |
| | |
RoleManager --+ | |
| | |
RoleManager --+ |
| |
Folder --+
|
object --+ |
| |
Base --+ |
| |
ImmutableId --+ |
| |
UniqueObject --+
|
MembershipTool --+
|
MembershipTool --+
|
PloneBaseTool --+
|
MembershipTool
| Method Summary | |
|---|---|
given a portrait we will modify the users portrait we put this method here because we do not want .personal or portrait in the catalog | |
Create a member area for 'member_id' or the authenticated user. | |
Create a member area for 'member_id' or the authenticated user. | |
deletes the Portait of member_id | |
What local roles can I assign? Override the CMFCore version so that we can see the local roles on an object, and so that local managers can assign all roles locally. | |
Return a member's home folder object, or None. | |
Return 'harmless' Memberinfo of any member, such as Full name, Location, etc | |
returns the Personal Item folder for a member if no Personal Folder exists will return None | |
returns the Portait for a member_id | |
Log the current user out immediately. | |
Lists the ids of all members. | |
Gets the list of all members. | |
ZMI method to set the home folder type by its type name. | |
searchForMembers(self, REQUEST=None, **kw) => normal or fast search method. | |
Called by logged_in to set the login time properties even if members lack the "Set own properties" permission. | |
Sets the portal type to use for new home folders. | |
Allows the authenticated member to set his/her own password. | |
test to see if password is current | |
| Inherited from MembershipTool | |
Return the URL to a member's home folder, or None. | |
Get the members folder object. | |
Return a list of mappings for 'listed' members. | |
ZMI method to set the members folder object by its id. | |
Set the members folder object by its id. | |
| Inherited from MembershipTool | |
Adds a new member to the user folder. | |
Checks whether the current user has the given permission on the given object or subobject. | |
Notifies the authentication mechanism that this user has changed passwords. | |
Delete local roles of specified members. | |
Delete member area of member specified by member_id. | |
Delete members specified by member_ids. | |
Returns the currently authenticated member object or the Anonymous User. | |
returns a role name if the portal role is mapped to something else or an empty string if it is not | |
Returns the flag indicating whether the membership tool will create a member area if an authenticated user from an underlying user folder logs in first without going through the join process | |
Returns the given member. | |
Return all local roles defined by the portal itself, which means roles that are useful and understood by the portal object | |
Returns 1 if the user is not logged in. | |
Search the membership | |
Add local roles on an item. | |
sets the flag indicating whether the membership tool will create a member area if an authenticated user from an underlying user folder logs in first without going through the join process | |
set the mapping of roles between roles understood by the portal and roles coming from outside user sources | |
Set up the correct acquisition wrappers for a user object. | |
| Inherited from Folder | |
| |
Insert the external editor link to an object if appropriate | |
| |
| |
Find SQL database connections in the current folder and above | |
| |
| Inherited from ObjectManager | |
| |
| |
| |
Add a DTML Document object with the contents of file. | |
Add a DTML Method object with the contents of file. | |
| |
| |
| |
Add a DTML Method object with the contents of file. | |
Add a DTML Document object with the contents of file. | |
Add a DTML Method object with the contents of file. | |
Add a new File object. | |
Add a new Folder object with id *id*. | |
Add a new Image object. | |
Add a new ordered Folder object with id *id*. | |
| |
| |
| |
| |
| |
Delete a subordinate object | |
Exports an object to a file and returns that file. | |
Directory listing for FTP. | |
Psuedo stat, used by FTP for directory listings. | |
check if the folder has an object with REQUEST['id'] | |
Import an object from a file | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Inherited from CopyContainer | |
| |
| |
| |
| |
| |
Put a reference to the objects named in ids in the clip board | |
Put a reference to the objects named in ids in the clip board | |
Paste previously copied objects into the current object. | |
Rename a particular sub-object | |
Rename several sub-objects | |
| |
| Inherited from Navigation | |
Logout current user | |
| Inherited from Tabs | |
| |
| |
| |
Dispatch to first interface in manage_options | |
| |
| |
| Inherited from Persistent | |
x.__getattribute__('name') <==> x.name | |
| |
Was the object modified in any version? | |
Was the object modified in this version? | |
| Inherited from Persistent | |
x.__delattr__('name') <==> del x.name | |
Get the object serialization state | |
Reduce an object to contituent parts for serialization | |
x.__setattr__('name', value) <==> x.name = value | |
Set the object serialization state The state should be in one of 3 forms: - None Ignored - A dictionary In this case, the object's instance dictionary will be cleared and updated with the new state. | |
| Inherited from Collection | |
| |
Delete a collection resource. | |
Retrieve resource information without a response body. | |
| |
The PUT method has no inherent meaning for collection resources, though collections are not specifically forbidden to handle PUT requests. | |
| Inherited from Resource | |
Create a duplicate of the source resource whose state and behavior match that of the source resource as closely as possible. | |
| |
| |
Lock a resource | |
Gets the document source | |
Create a new collection resource. | |
Move a resource to a new location. | |
Retrieve communication options. | |
Retrieve properties defined on the resource. | |
Set and/or remove properties defined on the resource. | |
Return the HTTP message received back to the client as the entity-body of a 200 (OK) response. | |
Remove an existing lock on a resource. | |
| Inherited from LockableItem | |
| |
| |
| |
| |
| |
| |
if 'killinvalids' is 1, locks who are no longer valid will be deleted | |
| |
| |
| |
| Inherited from EtagSupport | |
| |
| |
| |
| |
| Inherited from Traversable | |
Return the absolute URL of the object. | |
Return the path portion of the absolute URL of the object. | |
Get the physical path of the object. | |
| |
Lookup an object by path. | |
Return a URL for the object, relative to the site root. | |
| Inherited from PropertyManager | |
Get the property 'id'. | |
Get the type of property 'id'. | |
Return true if object has a property 'id'. | |
Add a new property via the web. | |
Change existing object properties. | |
Replace one set of properties with another | |
Delete one or more properties specified by 'ids'. | |
Edit object properties via the web. | |
| |
Return a list of property ids. | |
Return a list of (id,property) tuples. | |
Return a label for the given property id | |
Return a tuple of mappings, giving meta-data for properties. | |
Return a list of actual property objects. | |
| |
| Inherited from ElementWithAttributes | |
Retrieves an attribute value by name. | |
Retrieves an Attr node by name or None if there is no such attribute. | |
Returns a NamedNodeMap containing the attributes of this node (if it is an element) or None otherwise. | |
| Inherited from Element | |
Returns a NodeList that contains all children of this node. | |
Returns a NodeList of all the Elements with a given tag name in the order in which they would be encountered in a preorder traversal of the Document tree. | |
The first child of this node. | |
The last child of this node. | |
The node immediately preceding this node. | |
The name of this node, depending on its type | |
A code representing the type of the node. | |
The parent of this node. | |
The node immediately preceding this node. | |
The name of the element | |
| Inherited from Node | |
The value of this node, depending on its type | |
The Document object associated with this node. | |
Returns true if the node has any children, false if it doesn't. | |
| Inherited from RoleManager | |
| |
Return debug info. | |
Used by management screen. | |
| |
| |
| |
| |
Return an interface for making permissions settings. | |
Change the permissions that acquire. | |
Set local roles for a user. | |
Change all permissions settings, called by management screen. | |
Called by management screen. | |
Remove all local roles for a user. | |
| |
Change the settings for the given permission. | |
Change the permissions given to the given role. | |
Set local roles for a user. | |
Return user-role permission settings. | |
Used by management screen. | |
| |
Used by management screen. | |
Return list of user-defined roles. | |
| |
Return list of valid roles. | |
Return true if all given roles are valid. | |
Return list of valid roles. | |
| Inherited from RoleManager | |
Return the permission mapping for the object This is a list of dictionaries with: permission_name -- The name of the native object permission class_permission -- The class permission the permission is mapped to. | |
Change the permission mapping | |
| Inherited from Item | |
| |
Show the physical path of the object and its context if available. | |
| |
Return the id of the object as a string. | |
| |
| |
| |
Return the title if it is not blank and the id otherwise. | |
Return the title if it is not blank and the id otherwise. | |
| |
| Inherited from CopySource | |
| |
| |
| |
| Inherited from Owned | |
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. | |
Change the type (implicit or explicit) of ownership. | |
| |
Take ownership (responsibility) for an object. | |
Get ownership info for display | |
| |
| Inherited from UndoSupport | |
| |
| |
| |
| Inherited from FindSupport | |
Zope Find interface | |
Zope Find interface | |
Zope Find interface and apply | |
| Inherited from ActionProviderBase | |
Add an action to our list. | |
Update our list of actions. | |
Delete actions indicated by indexes in 'selections'. | |
Get an ActionInfo object specified by a chain of actions. | |
Return the actions object or None if action doesn't exist. | |
| |
List all the actions defined by a provider. | |
Show the 'Actions' management tab. | |
Move the specified actions down one slot in our list. | |
Move the specified actions up one slot in our list. | |
| Inherited from Base | |
Get arguments to be passed to __new__ | |
| Inherited from object | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
tuple |
__ac_permissions__ = (('Manage portal', ('manage_setMemb...
|
tuple |
__implements__ = (<Interface Products.CMFPlone.interface...
|
NoneType |
createMemberArea__roles__ = None |
str |
default_portrait = 'defaultUser.gif'
|
PermissionRole |
getCandidateLocalRoles__roles__ = <PermissionRole object...
|
NoneType |
getMemberInfo__roles__ = None |
PermissionRole |
getPortalRoles__roles__ = <PermissionRole object at 0xb4...
|
PermissionRole |
immediateLogout__roles__ = <PermissionRole object at 0xb...
|
DTMLFile |
manage_mapRoles = <App.special_dtml.DTMLFile object at 0...
|