[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/security - __init__.py:1.13

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Feb 24 09:23:36 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/interfaces/security
In directory cvs.zope.org:/tmp/cvs-serv32599/security

Modified Files:
	__init__.py 
Log Message:
Improved doc strings and added XXX comment


=== Zope3/src/zope/app/interfaces/security/__init__.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/interfaces/security/__init__.py:1.12	Wed Jan 14 17:55:22 2004
+++ Zope3/src/zope/app/interfaces/security/__init__.py	Tue Feb 24 09:23:06 2004
@@ -1,10 +1,26 @@
+##############################################################################
 #
-# This file is necessary to make this directory a package.
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Zope Application-specific Security Interfaces
 
+$Id$
+"""
 from zope.interface import Interface
 from zope.schema.interfaces import IEnumerated, IField
 
 class IRegisteredObject(Interface):
+    """General interface for security-related objects that are registered in a
+    service."""
 
     def getId():
         """Get the id of the registered object."""
@@ -20,7 +36,6 @@
         """
 
 
-
 class IPrincipal(Interface):
     """Provide information about principals.
 
@@ -208,6 +223,5 @@
         """
 
 class IPermissionField(IEnumerated, IField):
-    u"""Fields with Permissions as values
-    """
+    """Fields with Permissions as values"""
 




More information about the Zope3-Checkins mailing list