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
--- 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]