# HG changeset patch # User Lennard de Rijk # Date 1233650165 0 # Node ID 7785b5091f07c80aa641c9b5700a90aab33410a2 # Parent 11dbdf12d7c2cc4fd07342279a0bc1de1650def7 Fixes a bug where notifications can't be deleted. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 11dbdf12d7c2 -r 7785b5091f07 app/soc/views/models/notification.py --- 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']