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.

身份验证插件

  1. pip install allianceauth-mumbletemps
  2. 'mumbletemps',添加到您的INSTALLED_APPS中本地.py,我建议它在菜单的顶部。在
  3. 运行迁移
  4. 重新启动身份验证

设置

SettingDefaultDescription
MUMBLE_TEMPS_FORCE_SSO^{}Setting this to ^{} will allow users to auth with the non-sso method
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

  1. cd放入你有验证器代码的文件夹中。在
  2. git status以确认它是git repo和正确的位置
  3. git remote add upstream git@gitlab.com:aaronkable/mumble-authenticator.git添加远程
  4. git fetch upstream获取更新
  5. git checkout upstream/master转到我的代码
  6. 使用主管重新启动验证器

ℹ️ 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

  1. 编辑您的项目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'

edit it to add a new import and a new url

^{pr2}$
  1. 重新启动服务,您就完成了。在

权限

^{tb2}$

预览

管理与创新

image

可选登录屏幕(非SSO模式)

Login

Templink用户视图

Demo

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
在数据库中存储密码的java加密方法   java正则表达式否定整个正则表达式   java为什么要得到这个Hashmap输出?   看不到玻璃鱼爪哇SE 6   类对象包装器中的Java基本数据字段   java从文本文件中读取整数并存储到单独的变量中?(扫描仪)   优化大型Java数据阵列的处理和管理   如何使用Java XML包装类创建对象   java为ExecutorService invokeAll()创建包装器   java如何在Android Studio 1.0.0中设置Facebook SDK?获取SDK位置未找到错误   java在尝试从线程启动动画时调用了FromErrorThreadException   java根据哈希确认文件内容   通过java在neo4j中获取索引值相同的所有节点?   java为什么我的Validare邮政编码(布尔)程序返回false?   java会话自动从servlet/jsp生成,尽管存在以下条件:<%@page session=“false”%>   创建新LANsocket时拒绝java连接   java如何多线程更新由sql代码更新的数据库?   安卓 Java使用类作为集合来添加项   安卓为什么我的清单文件不声明java包?