products/CPSSubscriptions

changeset 1059:03ec9269f4e8 CPS-3.5

#2049: (permissions) too hasty copy paste in untested method
author Georges Racinet on ishtar.racinet.fr <georges@racinet.fr>
date Tue, 27 Sep 2011 17:45:21 +0200
parents 207d647993db
children 0b34cc150e1b
files SubscriptionsTool.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/SubscriptionsTool.py
     1.2 +++ b/SubscriptionsTool.py
     1.3 @@ -926,7 +926,7 @@
     1.4          else:
     1.5              container = aq_parent(aq_inner(object))
     1.6  
     1.7 -        if not _checkPermission(ViewSubscriptions, obj):
     1.8 +        if not _checkPermission(ViewSubscriptions, object):
     1.9              raise Unauthorized()
    1.10  
    1.11          if event_type: