[Zope3-checkins] SVN: Zope3/trunk/src/zope/security/interfaces.py
Removed IGroup (we don't need it at this level) and changed the
Jim Fulton
jim at zope.com
Mon Nov 1 14:03:54 EST 2004
Log message for revision 28310:
Removed IGroup (we don't need it at this level) and changed the
documentation of the groups attribute to ay it holds group ids, not
groups.
Changed:
U Zope3/trunk/src/zope/security/interfaces.py
-=-
Modified: Zope3/trunk/src/zope/security/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/security/interfaces.py 2004-11-01 19:03:52 UTC (rev 28309)
+++ Zope3/trunk/src/zope/security/interfaces.py 2004-11-01 19:03:54 UTC (rev 28310)
@@ -275,7 +275,7 @@
groups = List(
title=_("Groups"),
- description=_("List of groups the principal belongs to"),
+ description=_("List of ids of groups the principal belongs to"),
value_type=TextLine(),
required=False)
@@ -298,32 +298,8 @@
title=_("Description"),
description=_("Provides a description for the permission."),
required=False)
-
-class IGroup(IPrincipal):
-
- id = TextLine(
- title=_("Id"),
- description=_("Id as which this group will be known and used."),
- readonly=True,
- required=True)
- title = TextLine(
- title=_("Title"),
- description=_("Provides a title for the group."),
- required=True)
- description = Text(
- title=_("Description"),
- description=_("Provides a description for the group."),
- required=False)
-
- principals = List(
- title=_("Principals"),
- value_type=TextLine(),
- description=_("List of principals which belong to the group"),
- required=False)
-
-
More information about the Zope3-Checkins
mailing list