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 | 7d96480112b1a2537137ee46107612dd74a437cf (patch) | |
| tree | 53bbd0940385c35842abb86b331e477b0de1356e /ishtar_common/models.py | |
| parent | 61b3f51bb734d68b4c14a87a49abbaa6ad89b105 (diff) | |
| download | Ishtar-7d96480112b1a2537137ee46107612dd74a437cf.tar.bz2 Ishtar-7d96480112b1a2537137ee46107612dd74a437cf.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 \ | 
