app/soc/views/models/host.py
changeset 1067 ecf3df87b81c
parent 1025 1f83f05f522b
child 1076 063194eaf87b
--- a/app/soc/views/models/host.py	Thu Jan 29 18:11:11 2009 +0000
+++ b/app/soc/views/models/host.py	Thu Jan 29 18:13:21 2009 +0000
@@ -63,6 +63,9 @@
     rights['accept_invite'] = [('checkCanCreateFromRequest','host')]
     rights['process_request'] = ['checkIsHost',
         ('checkCanProcessRequest','host')]
+    rights['manage'] = [
+        ('checkIsAllowedToManageRole', [soc.logic.models.host,
+             soc.logic.models.host])]
 
     new_params = {}
     new_params['rights'] = rights
@@ -135,6 +138,7 @@
 edit = view.edit
 invite = view.invite
 list = view.list
+manage = view.manage
 process_request = view.processRequest
 public = view.public
 export = view.export