From 900557189a6f62cbd504146289ac7cea3c6b02ab Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 11 Sep 2016 23:28:01 +0200 Subject: Fix right checks --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3 From ebd964fb4bd78c1c295257a00aff29fcedb8160e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 11 Sep 2016 23:37:02 +0200 Subject: v0.98.1 --- CHANGES.md | 7 +++++++ version.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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/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(): -- cgit v1.2.3