# HG changeset patch # User Lennard de Rijk # Date 1232460579 0 # Node ID 595b34a71cbb8b7ba816cc22a281eea6938623b1 # Parent f5fd65cc3bf3aee2528a4bfb307676000a89a9ab Users now have the right to delete their own notifications. Patch by: Lennard de Rijk diff -r f5fd65cc3bf3 -r 595b34a71cbb app/soc/views/models/notification.py --- a/app/soc/views/models/notification.py Tue Jan 20 13:19:45 2009 +0000 +++ b/app/soc/views/models/notification.py Tue Jan 20 14:09:39 2009 +0000 @@ -84,7 +84,7 @@ rights['unspecified'] = [access.deny] rights['edit'] = [access.deny] rights['show'] = [access.checkIsMyNotification] - rights['delete'] = [access.checkIsDeveloper] + rights['delete'] = [access.checkIsMyNotification] rights['list'] = [access.checkIsUser] # create is developer only for the time being to test functionality rights['create'] = [access.checkIsDeveloper]