diff -r 3f9072bab1d4 -r 39badbfb80be app/soc/views/models/host.py --- a/app/soc/views/models/host.py Fri Jan 23 11:40:35 2009 +0000 +++ b/app/soc/views/models/host.py Fri Jan 23 12:00:48 2009 +0000 @@ -78,6 +78,9 @@ pass +# TODO(ljvderijk) rewrite the Host View module to comply with the new request system +# so that non-developers can create Hosts + class View(role.View): """View methods for the Host model. """ @@ -91,8 +94,9 @@ """ rights = {} - rights['create'] = [access.checkIsHost] - rights['edit'] = [access.checkIsHost] + rights['create'] = [access.checkIsDeveloper] + # TODO(ljvderijk) write the edit check + #rights['edit'] = [access.checkIsMyHost] rights['list'] = [access.checkIsHost] new_params = {}