Mumble Temp链接插件,用于联盟身份验证
allianceauth-mumbletemps的Python项目详细描述
Mumble Temp链接
⚠️ This does nothing on it's own you also need to update your authenticator! To my fork found here. More on that in the setup instructions below!
这个Alliance Auth模块让您可以轻松地让temp访问您的mumble服务。在
使用
拥有“创建”权限的用户会将一个链接复制给需要访问的人,
TempLink用户将被赋予组Guest
,可以根据需要设置mumble ACL来限制访问。
mumble chat命令!kicktemps
将清除mumble服务器上所有临时用户,如果他们仍然有一个有效的Templink,他们将能够重新连接,直到它过期或从工具中删除。只有具有Kick User
权限的成员才能使用该命令。在
设置
⚠️This is assuming you already have configured a fully functioning mumbke service.
身份验证插件
pip install allianceauth-mumbletemps
- 将
'mumbletemps',
添加到您的INSTALLED_APPS
中本地.py,我建议它在菜单的顶部。在 - 运行迁移
- 重新启动身份验证
设置
Setting | Default | Description |
---|---|---|
MUMBLE_TEMPS_FORCE_SSO | ^{ | Setting this to ^{ |
MUMBLE_TEMPS_SSO_PREFIX | ^{ | Display Name Prefix for an SSO'd temp user in mumble |
MUMBLE_TEMPS_LOGIN_PREFIX | ^{ | Display Name Prefix for a non-SSO'd temp user in mumble |
嘟嘟验证器
为了更新mumble验证器,如果你git克隆了原始repo,我们将添加我的分支作为远程,并签出更新的代码。在
⚠️It is a good idea to backup your
authenticator.ini
file before starting
cd
放入你有验证器代码的文件夹中。在git status
以确认它是git repo和正确的位置git remote add upstream git@gitlab.com:aaronkable/mumble-authenticator.git
添加远程git fetch upstream
获取更新git checkout upstream/master
转到我的代码- 使用主管重新启动验证器
ℹ️ The authenticator.log should show something like
Starting AllianceAuth mumble authenticator V:1.0.0 - TempLinks
if you are on the correct branch and version, if not you may still be running the default auth verssion and will need to investigate why. Users will get propted for passwords when they try to connect with a temp link and you are not running this version. the Authenticator version needs to match this version!
如果您没有使用git clone方法来安装验证器,只需在当前安装的顶部复制my fork found here的内容,请确保在开始之前备份您的authenticator.ini
!
绕过身份验证登录
要使用户不必在auth上注册,请确保您已完全更新django-esi
- 编辑您的项目
urls.py
文件:
if should look something like this, if yours is different only add the parts outlined below:
fromdjango.conf.urlsimportinclude,urlfromallianceauthimporturlsurlpatterns=[url(r'',include(urls)),]handler500='allianceauth.views.Generic500Redirect'handler404='allianceauth.views.Generic404Redirect'handler403='allianceauth.views.Generic403Redirect'handler400='allianceauth.views.Generic400Redirect'
^{pr2}$edit it to add a new import and a new url
- 重新启动服务,您就完成了。在
权限
^{tb2}$预览
管理与创新
可选登录屏幕(非SSO模式)
Templink用户视图
- 项目
标签: