diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-04-13 12:52:12 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-04-13 12:52:12 +0200 |
commit | 1b642d737b55c20ea2b83afbf63d701acd25fc00 (patch) | |
tree | ca945f5aae6c049a562be219a3d15dcae2d2a955 /ishtar_common/models.py | |
parent | d5664fbc9754e987f124444f9dcc02e46d20e0ad (diff) | |
download | Ishtar-1b642d737b55c20ea2b83afbf63d701acd25fc00.tar.bz2 Ishtar-1b642d737b55c20ea2b83afbf63d701acd25fc00.zip |
Access control: fix show own item (not *all* items) (refs #3593)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 77b4ed335..f1de8c60a 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -125,7 +125,7 @@ def check_model_access_control(request, model, available_perms=None): if "_own_" not in perm: own = False break # max right reach - return allowed, own + return allowed, own class Imported(models.Model): |