summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f4c0b8)
raw | patch | inline | side by side (parent: 3f4c0b8)
author | gmcm <gmcm@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 30 Jul 2002 20:43:18 +0000 (20:43 +0000) | ||
committer | gmcm <gmcm@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 30 Jul 2002 20:43:18 +0000 (20:43 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@936 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 c7a41dc317b418d5cca3f1aa1895f935dd135d0b..a46fe16ea803aa851877af86a78c6125eacb74c2 100644 (file)
--- a/roundup/cgi_client.py
+++ b/roundup/cgi_client.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: cgi_client.py,v 1.149 2002-07-30 20:04:38 gmcm Exp $
+# $Id: cgi_client.py,v 1.150 2002-07-30 20:43:18 gmcm Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
if keys and not self.form.has_key('__login_name'):
try:
userid = self.db.user.lookup(self.user)
- if not self.db.security.hasPermission('Edit', userid):
+ if not self.db.security.hasPermission('Edit', userid, cn):
message = _('You do not have permission to edit %s' %cn)
else:
props = parsePropsFromForm(self.db, cl, self.form, self.nodeid)
#
# $Log: not supported by cvs2svn $
+# Revision 1.149 2002/07/30 20:04:38 gmcm
+# Adapt metakit backend to new security scheme.
+# Put some more permission checks in cgi_client.
+#
# Revision 1.148 2002/07/30 16:09:11 gmcm
# Simple optimization.
#