[Mpuls-commits] r1025 - in wasko/branches/2.0: . waskaweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Jan 29 16:21:32 CET 2010
Author: bh
Date: 2010-01-29 16:21:29 +0100 (Fri, 29 Jan 2010)
New Revision: 1025
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/waskaweb/lib/security.py
Log:
* waskaweb/lib/security.py (ROLE_SQL): Removed. Unused.
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-01-29 15:14:25 UTC (rev 1024)
+++ wasko/branches/2.0/ChangeLog 2010-01-29 15:21:29 UTC (rev 1025)
@@ -1,5 +1,9 @@
2010-01-29 Bernhard Herzog <bh at intevation.de>
+ * waskaweb/lib/security.py (ROLE_SQL): Removed. Unused.
+
+2010-01-29 Bernhard Herzog <bh at intevation.de>
+
* waskaweb/lib/security.py: Fix formatting.
2010-01-29 Bernhard Herzog <bh at intevation.de>
Modified: wasko/branches/2.0/waskaweb/lib/security.py
===================================================================
--- wasko/branches/2.0/waskaweb/lib/security.py 2010-01-29 15:14:25 UTC (rev 1024)
+++ wasko/branches/2.0/waskaweb/lib/security.py 2010-01-29 15:21:29 UTC (rev 1025)
@@ -61,8 +61,7 @@
NEW_DBS = {}
check_re = re.compile(r"^[a-z_0-9]+$")
-ROLE_SQL = """select groname from pg_group where getOID() = ANY (grolist)"""
-ROLE_SQL = """select where getOID() = ANY (grolist)"""
+
FETCH_USER_DATA_SQL = """\
SELECT id, vorname, nachname, passwort_aendern, aktiviert,
rolle, gid, last_login, vertreter
More information about the Mpuls-commits
mailing list