From 896df719424ded343946a5c721c136e226beee43 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 30 Mar 2013 11:25:41 +0000 Subject: [PATCH] item owner can see all data --- pandora/item/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora/item/views.py b/pandora/item/views.py index 7a00b2a6a..99c070353 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -478,6 +478,8 @@ def get(request): level = 'guest' else: level = request.user.get_profile().get_level() + if request.user == item.user: + return True return level in settings.CONFIG['capabilities'][capability] \ and settings.CONFIG['capabilities'][capability][level] for k in settings.CONFIG['itemKeys']: