mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
Chat: Disallow external users as admins
This commit is contained in:
parent
ddb9e61ee2
commit
df31bb35c2
@ -44,7 +44,8 @@ from indico_chat.views import WPChatEventMgmt
|
||||
|
||||
|
||||
class SettingsForm(IndicoForm):
|
||||
admins = PrincipalField(_('Administrators'), description=_('Users who can manage chatrooms for all events'))
|
||||
admins = PrincipalField(_('Administrators'), allow_external=False,
|
||||
description=_('Users who can manage chatrooms for all events'))
|
||||
server = StringField(_('XMPP server'), [DataRequired()], description=_('The hostname of the XMPP server'))
|
||||
muc_server = StringField(_('XMPP MUC server'), [DataRequired()],
|
||||
description=_("The hostname of the XMPP MUC server"))
|
||||
|
||||
@ -21,7 +21,7 @@ from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name='indico_chat',
|
||||
version='0.1',
|
||||
version='0.2',
|
||||
url='https://github.com/indico/indico-plugins',
|
||||
license='https://www.gnu.org/licenses/gpl-3.0.txt',
|
||||
author='Indico Team',
|
||||
@ -31,7 +31,7 @@ setup(
|
||||
include_package_data=True,
|
||||
platforms='any',
|
||||
install_requires=[
|
||||
'indico>=1.9.1',
|
||||
'indico>=1.9.2',
|
||||
'sleekxmpp'
|
||||
],
|
||||
classifiers=[
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user