Skip to main content

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.

Project description

Secure Groups

Plugin for Auto Group Bot Stuffs for Alliance 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.

Features

  • Manual 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 rectify
  • Pings to users on discord and in auth when they are due for and removed
  • Smart Group Filters included with this app:
    • Character in Alliance on account
    • Character in Corp on account
    • User has group

Apps that provide a filter

Information for Third Party Developers can be found Here Not in any particular order:

  • CorpTools
    • Assets in Locations
    • Skill List checks
      • Single of many or,
      • Require many
    • Main's time in Corp
    • All characters loaded in corp-tools
    • Corporate Role checks
    • Corporate Title check
    • Highest SP on a Character check
    • Expression filter that allows to combine any check to form a more complex logic expression
  • Statistics
    • zKill - x Kills in x Months
  • Blacklist module ( link )
    • users has no flags or has or has never had blacklisted char
  • Member Audit via its integration.
    • Activity Filter
    • Asset Filter
    • Character Age Filter
    • Member Audit Compliance Filter
    • Skill Set Filter
    • Skill Point Filter
  • Invoices
    • No Overdue Invoices check
    • Total isk paid in time period ( greater than or less than )

Soon(tm) Wishlist

  • Please request any "filters" you feel are worthwhile.

Installation

Install

  1. pip install allianceauth-securegroups
  2. edit your local.py amd add 'securegroups', to INSTALLED_APPS
  3. run migrations python myauth/manage.py migrate securegroups
  4. restart auth supervisorctrl restart all
  5. create the update task by running python myauth/manage.py setup_securegroup_task
    • this will create an hourly 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 Updater

Configuration

  1. Create 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 Off
      • The rest of the settings are observed as per Alliance Auth's normal group behavior
        • Open: 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 states
        • Having no states will make an autogroup run against the entire user base. ( this is not recommended )
  2. Create your Smart Filters
    • These will be in admin but can be under many apps that may provide a 3rd party filter
    • Create the filter and add your options as needed.
  3. Set any Filters "Grace Periods", Admin > Secure Groups > Smart Filters
    • the default is 5 Days.
    • 0 is no grace.
    • after the elapsed time the user will be removed.
  4. Setup the Smart Group Admin > Secure Groups > Smart Groups > Add Smart Group
    • Group: pick group from step one
    • Description Optional: to add to the group description in list
    • Filters: pick your Smart Filters from Step 2
    • Enabled: Turning this off Smart Groups don't show im the groups screen or run in any tasks
    • Can 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.

Permissions

Permision Explanation
securegroups - smart group - Can access sec group requests screen Grants access to the secure group request screen.
securegroups - smart group - Can audit sec groups members Grants access to the secure group auditing screen, for groups the user is a leader of.

Notifications

  • You can send a simple update log to a discord webhook
    • set these up in Admin > Secure Groups > Group Update Webhooks > Add Group Update Webhook
    • If you are using the AllianceAuth Discord Bot from Here users will be notified of pending removals and or removals from groups via DM's from the bot with an explanation. This requires no configuration.

Screenshots

Admin Setup of Smart Groups

img

User Group Selection

img

User Failed Checks

img

User Passed Checks

img

Audit Secure Groups

img img img

Discord Message Example

img

Issues

Please remember to report any Secure Groups related issues using the issues on this repository.

Contributing

Make sure you have signed the License Agreement by logging in at EVE Developers before submitting any pull requests.

All bug fixes or features must not include extra superfluous formatting changes. If you want to reformat the repository do it in its own MR.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

allianceauth_securegroups-0.9.0.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

allianceauth_securegroups-0.9.0-py3-none-any.whl (51.4 kB view details)

Uploaded Python 3

File details

Details for the file allianceauth_securegroups-0.9.0.tar.gz.

File metadata

File hashes

Hashes for allianceauth_securegroups-0.9.0.tar.gz
Algorithm Hash digest
SHA256 0d5a09a96456d2d57e61fb4d855f41fb25757de9c219df29bae03f8481d9ed2d
MD5 5ca0743b73317703a0b0d8119eec2cc2
BLAKE2b-256 1040908af3082447baf5c66e32f47dbb99931d61ea4344c420127740d67e6321

See more details on using hashes here.

File details

Details for the file allianceauth_securegroups-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for allianceauth_securegroups-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a102ee5d9bbc853c1ac6e2d332e6f39453c6368b341438859dde231be3a05ddc
MD5 4c402b8dce7c64bb486f2b8d3fb7c957
BLAKE2b-256 c0a14806fc9e1380e532f8d1f32acec08b5877e34b899dee510c8d91943ea499

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page