diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-13 19:03:38 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-13 19:03:38 +0100 |
commit | 8013cdaddc1c9b87c843a9ca857caba9d1fd20f2 (patch) | |
tree | 53bbd0940385c35842abb86b331e477b0de1356e /ishtar_common/models.py | |
parent | 651985660e22e3569d450ebe3cfda9f55d54fbbf (diff) | |
download | Ishtar-8013cdaddc1c9b87c843a9ca857caba9d1fd20f2.tar.bz2 Ishtar-8013cdaddc1c9b87c843a9ca857caba9d1fd20f2.zip |
Fix rights for finds and contextrecords
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 48218ba94..c4dcd4c44 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1982,6 +1982,7 @@ class Person(Address, Merge, OwnPerms, ValueGetter): res = cache.get(cache_key) if res in (True, False): return res + if type(right_name) in (list, tuple): res = bool(self.person_types.filter( txt_idx__in=right_name).count()) or \ |