Package: allianceauth-mumbletemps
Mumble Temp Links⚠️ 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!ThisAlliance Authmodule lets you give temp access to your mumble service with ease.UsageA user with the create permission creates a link and copies it to the people who need access,
TempLink users will be given the groupGuest, mumble ACL's can be setup to restrict access as required.
The mumble chat command!kicktempswill purge the mumble server of all temp users, if they still have a valid Templink they will be able to reconnect until it either expires or is removed from the tool. Only members who have theKick Userpermission can use the command.Setup⚠️This is assuming you already have configured a fully functioning mumble service.Auth Pluginpip install allianceauth-mumbletempsadd'mumbletemps',to yourINSTALLED_APPSin the local.py, I recommend it is at the top for menu ordering.run migrationsrestart authSettingsSettingDefaultDescriptionMUMBLE_TEMPS_FORCE_SSOTrueSetting this toFalsewill allow users to auth with the non-sso methodMUMBLE_TEMPS_SSO_PREFIX[TEMP]Display Name Prefix for an SSO'd temp user in mumbleMUMBLE_TEMPS_LOGIN_PREFIX[*TEMP]Display Name Prefix for a non-SSO'd temp user in mumbleMumble AuthenticatorTo update your mumble authenticator if you git cloned the original repo we will add my branch as a remote and checkout the updated code.⚠️It is a good idea to backup yourauthenticator.inifile before startingcdinto the folder you have the authenticator code in.git statusto confirm it is a git repo and the correct placegit remote add upstream git@gitlab.com:aaronkable/mumble-authenticator.gitto add the remotegit fetch upstreamto grab the updatesgit checkout upstream/masterto roll over to my coderestart your authenticator with supervisorℹ️ The authenticator.log should show something likeStarting AllianceAuth mumble authenticator V:1.0.0 - TempLinksIf you are on the correct branch and version, if not you may still be running the default auth version and will need to investigate why. Users will get prompted 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!If you did not use the git clone method of installing the authenticator, simply copy the contents ofmy fork found hereon top of your current install,BE SURE TO BACKUP YOURauthenticator.iniBEFORE YOU START!Auth Login BypassTo enable people to not have to register on auth, ensure you have fully updateddjango-esiEdit your projectsurls.pyfile:It should look something like this, if yours is different only add the parts outlined below:fromdjango.urlsimportre_pathfromdjango.conf.urlsimportincludefromallianceauthimporturlsurlpatterns=[re_path(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 urlfromdjango.urlsimportre_pathfromdjango.conf.urlsimportincludefromallianceauthimporturlsfrommumbletemps.viewsimportlink# *** New Importurlpatterns=[re_path(r'^mumbletemps/join/(?P<link_ref>[\w\-]+)/$',link,name='join'),# *** New URL override BEFORE THE MAIN IMPORTre_path(r'',include(urls)),]handler500='allianceauth.views.Generic500Redirect'handler404='allianceauth.views.Generic404Redirect'handler403='allianceauth.views.Generic403Redirect'handler400='allianceauth.views.Generic400Redirect'Restart services and you're done.PermissionsPermAdmin SiteAuth Sitemumbletemps.create_new_linksNoneCan create and delete Temp Links.PreviewManagement and CreationOPTIONAL Login Screen ( Non SSO mode )Templink User View