summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d12ab45)
raw | patch | inline | side by side (parent: d12ab45)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 9 Mar 2003 22:57:47 +0000 (22:57 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 9 Mar 2003 22:57:47 +0000 (22:57 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1579 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/client.py | patch | blob | history |
diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py
index 4fbf10a2f35090535dae689d1f65359cf5fe4a44..6d8bdc703362de979ffa1ac454471af6e732ab4b 100644 (file)
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
-# $Id: client.py,v 1.103 2003-03-07 22:46:59 kedder Exp $
+# $Id: client.py,v 1.104 2003-03-09 22:57:47 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
'''
# check for permission
if not self.editItemPermission(props):
- raise PermissionError, 'You do not have permission to edit %s'%cn
+ raise Unauthorised, 'You do not have permission to edit %s'%cn
# make the changes
cl = self.db.classes[cn]
'''
# check for permission
if not self.newItemPermission(props):
- raise PermissionError, 'You do not have permission to create %s'%cn
+ raise Unauthorised, 'You do not have permission to create %s'%cn
# create the node and return its id
cl = self.db.classes[cn]