Back to index

plone3  3.1.7
Public Member Functions
borg.localrole.bbb.interfaces.IGroupAwareWorkspace Class Reference
Inheritance diagram for borg.localrole.bbb.interfaces.IGroupAwareWorkspace:
Inheritance graph
[legend]
Collaboration diagram for borg.localrole.bbb.interfaces.IGroupAwareWorkspace:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getLocalRolesForPrincipal
def getLocalRoles

Detailed Description

A group-aware version of IWorkspace.

This should ensure that getLocalRolesForPrincipal() and getLocalRoles()
return values for principals which are groups as well as principals
which are users.

Supporting only IWorkspace instead of IGroupAwareWorkspace will mean a
slight performance increase, since there is no need to look up and
iterate over groups.

Definition at line 23 of file interfaces.py.


Member Function Documentation

Return a dictonary mapping principals to their roles within
a workspace.

Definition at line 18 of file interfaces.py.

00018 
00019     def getLocalRoles():
00020         """Return a dictonary mapping principals to their roles within
00021         a workspace.
00022         """

A workspace in which custom local roles are needed

A workspace gives information to the Pluggable Authentication Service 
about local roles. The context will be adapted to this interface to 
find out which additional local roles should apply.
Return a sequence of all local roles for a principal.

Definition at line 14 of file interfaces.py.

00014 
00015     def getLocalRolesForPrincipal(principal):
00016         """Return a sequence of all local roles for a principal.
00017         """


The documentation for this class was generated from the following file: