Back to index

plone3  3.1.7
interfaces.py
Go to the documentation of this file.
00001 from zope.interface import Interface
00002 from zope import schema
00003 
00004 class ISharingPageRole(Interface):
00005     """A named utility providing information about roles that are managed
00006     by the sharing page.
00007     
00008     Utility names should correspond to the role name.
00009     
00010     A user will be able to delegate the given role if a utility can be found
00011     and the user has the required_permission (or it's None).
00012     """
00013     
00014     title = schema.TextLine(title=u"A friendly name for the role")
00015     
00016     required_permission = schema.TextLine(title=u"Permission required to manage this local role",
00017                                           required=False)