app/soc/views/models/notification.py
changeset 1197 7785b5091f07
parent 1176 c211191e7d81
child 1307 091a21cf3627
--- a/app/soc/views/models/notification.py	Tue Feb 03 08:33:46 2009 +0000
+++ b/app/soc/views/models/notification.py	Tue Feb 03 08:36:05 2009 +0000
@@ -86,7 +86,7 @@
     rights['unspecified'] = ['deny']
     rights['edit'] = ['deny']
     rights['show'] = [('checkIsMyEntity', [notification_logic, 'scope_path'])]
-    rights['delete'] = [('checkIsMyEntity', notification_logic)]
+    rights['delete'] = [('checkIsMyEntity', [notification_logic, 'scope_path'])]
     rights['list'] = ['checkIsUser']
     # create is developer only for the time being to test functionality
     rights['create'] = ['checkIsDeveloper']