[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - IPermission.py:1.1.2.1
Barry Warsaw
barry@wooz.org
Wed, 12 Dec 2001 17:28:47 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv14410/lib/python/Zope/App/Security
Added Files:
Tag: Zope-3x-branch
IPermission.py
Log Message:
Interface for Permission objects
=== Added File Zope3/lib/python/Zope/App/Security/IPermission.py ===
# IPermission.py
#
# Copyright (c) 2001 Zope Coporation and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 1.1 (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.
from Interface import Interface
class IPermission(Interface):
def getTitle():
"""Return the title of the permission as a string."""
def getDescription():
"""Return the description of the permission as a string."""