comparison data/plugin/action/submit_bbb_create_meeting.py @ 593:ad72bd94694c

action.submit_bbb_create_meeting: admin acl right added for new meeting page
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 11 Jun 2012 16:07:19 +0200
parents 50f81f786081
children ddd078c4ee7a
comparison
equal deleted inserted replaced
592:8659634e0b29 593:ad72bd94694c
63 ) 63 )
64 session.create_meeting() 64 session.create_meeting()
65 65
66 sub_pagename = u'%s/%s' % (pagename, request.form["meeting_name"]) 66 sub_pagename = u'%s/%s' % (pagename, request.form["meeting_name"])
67 keyval = "\n".join([' %s:: %s' % (key, value) for key, value in request.form.iteritems() if not (key.startswith('labels') or key.startswith('action') or key.startswith('doit'))]) 67 keyval = "\n".join([' %s:: %s' % (key, value) for key, value in request.form.iteritems() if not (key.startswith('labels') or key.startswith('action') or key.startswith('doit'))])
68 result = """#acl %(username)s:read,write,delete,revert All: 68 result = """#acl %(username)s:admin,read,write,delete,revert All:
69 #format bbb_create 69 #format bbb_create
70 responsible:: %(username)s 70 responsible:: %(username)s
71 %(keyval)s""" % {"username": username, 71 %(keyval)s""" % {"username": username,
72 "keyval": keyval} 72 "keyval": keyval}
73 73