app/soc/views/models/host.py
changeset 2919 cb677410c0f1
parent 2667 260aaea36e49
child 3055 7f922641ccc9
--- 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')]