summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 760fdd9)
raw | patch | inline | side by side (parent: 760fdd9)
author | schlatterbeck <schlatterbeck@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 20 Oct 2010 20:24:09 +0000 (20:24 +0000) | ||
committer | schlatterbeck <schlatterbeck@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 20 Oct 2010 20:24:09 +0000 (20:24 +0000) |
"access everywhere". Now search-permissions work for admin, too...
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4552 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4552 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/security.py | patch | blob | history |
diff --git a/roundup/security.py b/roundup/security.py
index 6ce330fa0e882361a1f4af187d88f754ec4430b7..e46e291c36c6c65630439121db834cb3638a6bbf 100644 (file)
--- a/roundup/security.py
+++ b/roundup/security.py
return 0
# are we checking the correct class
- if self.klass != classname:
+ if self.klass is not None and self.klass != classname:
return 0
# what about property?