[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - Settings.py:1.1.2.1

Casey Duncan casey_duncan@yahoo.com
Fri, 8 Feb 2002 11:41:11 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv9063

Added Files:
      Tag: Zope-3x-branch
	Settings.py 
Log Message:
Added Settings module that contains designations for explict allow, deny,
assign and remove settings


=== Added File Zope3/lib/python/Zope/App/Security/Settings.py ===
# metaConfigure.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.

""" Security setting constants """

# Explicit allow setting for permissions
Allow = 'Allow'

# Explicit deny setting for permissions
Deny = 'Deny'

# Explicit assign setting for roles
Assign = 'Assign'

# Explicit remove setting for roles
Remove = 'Remove'