Adds the rights['edit'] to models/base.py wich was left out in r1049.
authorLennard de Rijk <ljvderijk@gmail.com>
Thu, 20 Nov 2008 16:07:40 +0000
changeset 509 e8acc0a907fb
parent 508 2b90baceac88
child 510 6cd4f44891e5
Adds the rights['edit'] to models/base.py wich was left out in r1049. Fixes two small typos in the comments in logic/mail_dispatcher.py
app/soc/logic/mail_dispatcher.py
app/soc/views/models/base.py
--- a/app/soc/logic/mail_dispatcher.py	Thu Nov 20 15:41:31 2008 +0000
+++ b/app/soc/logic/mail_dispatcher.py	Thu Nov 20 16:07:40 2008 +0000
@@ -82,7 +82,7 @@
     context: The context supplied to the template and email (dictionary)
   
   Raises:
-    Error that corresponds with the first problem it finds ff the message 
+    Error that corresponds with the first problem it finds iff the message 
     is not properly initialized.
 
     List of all possible errors:
@@ -102,7 +102,7 @@
     context : The context supplied to the email message (dictionary)
 
   Raises:
-    Error that corresponds with the first problem it finds ff the message 
+    Error that corresponds with the first problem it finds iff the message 
     is not properly initialized.
 
     List of all possible errors:
--- a/app/soc/views/models/base.py	Thu Nov 20 15:41:31 2008 +0000
+++ b/app/soc/views/models/base.py	Thu Nov 20 16:07:40 2008 +0000
@@ -88,6 +88,7 @@
     rights['unspecified'] = []
     rights['any_access'] = [access.checkIsUser]
     rights['create'] = [access.checkIsDeveloper]
+    rights['edit'] = [access.checkIsDeveloper]
     rights['delete'] = [access.checkIsDeveloper]
     rights['list'] = [access.checkIsDeveloper]