Package: allianceauth-securegroups
Secure GroupsPlugin for Auto Group Bot Stuffs forAlliance Auth.On its own this app does very little! However it leverages any module that is capable of providing a filter. Giving you the ability to add a very wide range of automatic filtration options your groups.FeaturesManual Groups, either auto join or still request join via Alliance Auth's Built in Group Management system.Auto Groups, process all member states for a filter and add/remove who ever passes/doesn't.A Grace on failure feature when already in the group with notifications to users to alow time to rectifyPings to users on discord and in auth when they are due for and removedSmart Group Filters included with this app:Character in Alliance on accountCharacter in Corp on accountUser has groupApps that provide a filterInformation for Third Party Developers can be foundHereNot in any particular order:CorpToolsAssets in LocationsSkill List checksMain's Time in CorpAll characters loaded in corp-toolsStatisticszKill - x Kills in x MonthsBlacklist module ( link )users has no flags or has or has never had blacklisted charMember Auditvia itsintegration.Activity FilterAsset FilterCharacter Age FilterMember Audit Compliance FilterSkill Set FilterSkill Point FilterSoon(tm) WishlistFilter for PAP's per Time PeriodPlease request any "filters" you feel are worthwhile.InstallationInstallpip install allianceauth-securegroupsedit yourlocal.pyamd add'securegroups',toINSTALLED_APPSrun migrationspython myauth/manage.py migrate securegroupsrestart authsupervisorctrl restart allcreate the update task by runningpython myauth/manage.py setup_securegroup_taskthis will create a daily task to run all your smart group checks. you cam edit this schedule as you desire from withing the admin site.Admin > Periodic Tasks > Secure Group UpdaterConfigurationCreate an Auth Group.Admin > Group Management > Group > Add Group.WARNING: There is a bug in auth that will wipe andy "AuthGroup" Settings on first save, to get around this, Set your groups name then click save and continue, then edit the rest of the settings.Group Settings:The Smart Group will override the important ones.Hidden On, Internal Off, Public OffThe rest of the settings are observed as per Alliance Auth's normal group behaviorOpen: Setting this will let anyone that passes the checks to join without a manager approval.States:Set states here to limit auto groups to specific statesHaving no states will make an autogroup run against the entire user base. ( this is not recommended )Create your Smart FiltersThese will be in admin but can be under many apps that may provide a 3rd party filterCreate the filter and add your options as needed.Set any Filters "Grace Periods",Admin > Secure Groups > Smart Filtersthe default is 5 Days.0 is no grace.after the elapsed time the user will be removed.Setup the Smart GroupAdmin > Secure Groups > Smart Groups > Add Smart GroupGroup: pick group from step oneDescriptionOptional: to add to the group description in listFilters: pick your Smart Filters from Step 2Enabled: Turning this off Smart Groups don't show im the groups screen or run in any tasksCan Grace: Turning this off overrides all grace periods for Instant Kick during updates.Auto Group: Hides the group from the Secure Groups list, and will run every user in "member" States and constantly keep it in sync.Include In Updates: Setting this off will alow you to have a check om join and never again style group.NotificationsYou can send a simple update log to a discord webhookset these up inAdmin > Secure Groups > Group Update Webhooks > Add Group Update WebhookIf you are using the AllianceAuth Discord Bot fromHereusers will be notified of pending removals and or removals from groups via DM's from the bot with an explanation. This requires no configuration.ScreenshotsAdmin Setup of Smart GroupsUser Group SelectionUser Failed ChecksUser Passed ChecksAudit Secure GroupsDiscord Message ExampleIssuesPlease remember to report any Secure Groups related issues using the issues onthisrepository.ContributingMake sure you have signed theLicense Agreementby logging in atEVE Developersbefore submitting any pull requests.All bug fixes or features must not include extra superfluous formatting changes.