[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - IRole.py:1.1.2.1
Barry Warsaw
barry@wooz.org
Wed, 12 Dec 2001 17:29:01 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv14457/lib/python/Zope/App/Security
Added Files:
Tag: Zope-3x-branch
IRole.py
Log Message:
Interface for Role objects
=== Added File Zope3/lib/python/Zope/App/Security/IRole.py ===
# IRole.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 IRole(Interface):
def getTitle():
"""Return the title of the role as a string."""
def getDescription():
"""Return the description of the role as a string."""