# HG changeset patch # User Lennard de Rijk # Date 1227197260 0 # Node ID e8acc0a907fbea351a979bcd2eac968138ff9ca6 # Parent 2b90baceac88ee5f5dfe02a71812ccaa48ff012a 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 diff -r 2b90baceac88 -r e8acc0a907fb app/soc/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: diff -r 2b90baceac88 -r e8acc0a907fb app/soc/views/models/base.py --- 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]