Users now have the right to delete their own notifications.
authorLennard de Rijk <ljvderijk@gmail.com>
Tue, 20 Jan 2009 14:09:39 +0000
changeset 829 595b34a71cbb
parent 828 f5fd65cc3bf3
child 830 ef0786e8bb63
Users now have the right to delete their own notifications. Patch by: Lennard de Rijk
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]