summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-11 23:41:38 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-11 23:41:38 +0200
commit637d38633c279f5fea9ca41eae0f29ac19bf8ee3 (patch)
tree76c2dfadfdeccccfa735d2b219e8921a03278cfe
parent339ee9944e2ad0fcd6a157862dd75f80d3158c72 (diff)
parent076ce993f1524d646fae406cb493661312260b20 (diff)
downloadIshtar-637d38633c279f5fea9ca41eae0f29ac19bf8ee3.tar.bz2
Ishtar-637d38633c279f5fea9ca41eae0f29ac19bf8ee3.zip
Merge branch 'v0.9' into wheezy
-rw-r--r--CHANGES.md7
-rw-r--r--ishtar_common/models.py2
-rw-r--r--version.py2
3 files changed, 9 insertions, 2 deletions
diff --git a/CHANGES.md b/CHANGES.md
index 327894c03..fff3040bd 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,6 +1,13 @@
Ishtar changelog
================
+0.98.1 (2016-09-11)
+-------------------
+
+### Bug fixes ###
+
+- Fix right caching
+
0.98.0 (2016-09-11)
-------------------
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index e4a72eab7..f3f9f0778 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2520,7 +2520,7 @@ class IshtarUser(User):
res = cache.get(cache_key)
if res in (True, False):
return res
- res = super(IshtarUser, self).has_perm(perm, obj)
+ res = super(IshtarUser, self).has_perm(perm, model)
cache.set(cache_key, res, settings.CACHE_SMALLTIMEOUT)
return res
diff --git a/version.py b/version.py
index 454f45b60..6b7df7378 100644
--- a/version.py
+++ b/version.py
@@ -1,4 +1,4 @@
-VERSION = (0, 98, 0)
+VERSION = (0, 98, 1)
def get_version():