--- a/app/soc/views/models/host.py Mon Sep 14 19:58:10 2009 +0200
+++ b/app/soc/views/models/host.py Mon Sep 14 19:58:43 2009 +0200
@@ -56,8 +56,7 @@
rights = access.Checker(params)
rights['create'] = [('checkHasActiveRoleForScope', host_logic.logic)]
- rights['edit'] = [('checkHasActiveRoleForScope', host_logic.logic),
- ('checkIsMyEntity', [host_logic.logic, 'user', True])]
+ rights['edit'] = [('checkIsMyActiveRole', host_logic.logic)]
rights['invite'] = [('checkHasActiveRoleForScope', host_logic.logic)]
rights['list'] = ['checkIsDeveloper']
rights['accept_invite'] = [('checkCanCreateFromRequest','host')]