[Zope-Checkins] CVS: Zope/lib/python/Products/PythonScripts - PythonScript.py:1.36.10.1
Matthew T. Kromer
matt@zope.com
Wed, 7 Nov 2001 17:39:22 -0500
Update of /cvs-repository/Zope/lib/python/Products/PythonScripts
In directory cvs.zope.org:/tmp/cvs-serv25007/Products/PythonScripts
Modified Files:
Tag: matt-Transience-branch
PythonScript.py
Log Message:
Clarify error message
=== Zope/lib/python/Products/PythonScripts/PythonScript.py 1.36 => 1.36.10.1 ===
return
raise 'Forbidden', ('You are not authorized to change <em>%s</em> '
- 'because you do not have proxy roles.\n<!--%s, %s-->'
+ 'because you do not have the required proxy roles (you must '
+ 'possess a role in order to grant it).\n<!--%s, %s-->'
% (self.id, user, roles))
security.declareProtected('Change proxy roles',