Skip to main content

Member Audit Secure Groups

An Alliance Auth app that enables secure group management with Member Audit.

release python django CI/CD Pipeline codecov license pre-commit Code style: black chat

Contents

[!IMPORTANT] This project is the official successor of the abandoned project aa-ma-securegroups. For instructions on how to update from an existing installation of the abandoned project please see Updating from aa-ma-securegroups

Features

Member Audit Secure Groups provides Secure Groups filters based on character information from Member Audit. The following filters are provided:

  • Activity Filter
  • Asset Filter
  • Character Age Filter
  • Compliance Filter
  • Corporation Role Filter
  • Corporation Title Filter
  • Skill Set Filter
  • Skill Point Filter
  • Time in Corporation Filter

Installation

This chapter explains how to install Member Audit Secure Groups (MASG).

Step 1 - Check prerequisites

  1. MASG is a plugin for Alliance Auth. If you don't have Alliance Auth running already, please install it first before proceeding. (see the official AA installation guide for details)

  2. MASG needs the app Member Audit to function. Please make sure it is installed, before continuing.

  3. MASG needs the app Secure Groups to function. Please make sure it is installed, before continuing.

Step 2: Install the app

Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the newest release from PyPI:

pip install aa-memberaudit-securegroups

Step 3: Configure Auth settings

Add memberaudit_securegroups to your INSTALLED_APPS.

Step 4: Finalize App Installation

Run migrations & copy static files

python manage.py migrate
python manage.py collectstatic --noinput

Restart your supervisor services for Auth.

Member Audit Secure Groups is now fully installed and you can setup your first secure groups.

Step 5: Setup secure groups (Optional)

You can configure your secure groups on the admin site.

First create an Alliance Auth group that you want to become your smart group.

Next create a Member Audit filter. You can find all available filters under "Secure Groups (Member Audit Integration)".

Finally create a smart group for that filter. You can find smart groups under "Secure Groups / Smart Groups".

For more details on how to setup and configure secure groups please also see Secure Groups.

Updating from aa-ma-securegroups

MASG is designed to seamlessly replace the abandoned aa-ma-securegroups project. To update from an existing aa-ma-securegroups installation follow these steps:

Step 1: Uninstall the old Python package

Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then uninstall the old Python package:

pip uninstall aa-ma-securegroups

Step 2: Install the new Python package

And install the new Python package:

pip uninstall aa-memberaudit-securegroups

Step 3: Finalize App Update

Run migrations & copy static files:

python manage.py migrate
python manage.py collectstatic --noinput

Restart your supervisor services for Auth.

Documentation

The provided filters are defined as follows:

Filter Name Matches if...
Activity User has at least one character active within the last X days
Age User has at least one character over X days old
Asset User has at least one character with any of the assets defined
Compliance User has all characters registered on Member Audit
Skill Point User has at least one character with at least X skill points
Skill Set User has at least one character with any of the selected skill sets
Role User has a character (main or alt) in a certain corporation with a certain role
Title User has a character (main or alt) in a certain corporation with a certain title
Time in Corporation User has a character (main or alt) in a certain corporation with a certain title

Download files

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

Source Distribution

aa_memberaudit_securegroups-2.0.1.tar.gz (152.8 kB view details)

Uploaded Source

Built Distribution

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

aa_memberaudit_securegroups-2.0.1-py3-none-any.whl (95.5 kB view details)

Uploaded Python 3

File details

Details for the file aa_memberaudit_securegroups-2.0.1.tar.gz.

File metadata

File hashes

Hashes for aa_memberaudit_securegroups-2.0.1.tar.gz
Algorithm Hash digest
SHA256 e96ee2295ff2d7b1049c71feda6b61d508cac19f7b00066cc4c8b7e3370e98fe
MD5 fb8d4b86b242a5084f1c72c909c8e901
BLAKE2b-256 8ea74705f9198f5a70991dfcf46ba49b30ef9e71600d63705fbf4366e174389b

See more details on using hashes here.

File details

Details for the file aa_memberaudit_securegroups-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aa_memberaudit_securegroups-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 806e58185a1a81ed44b112bebe50fd68650e73fcc2238ffcf23cba431e50af98
MD5 d6dd76e89b477c303feeb44f0b90fb44
BLAKE2b-256 84891eaefca28aec531a6b9a28bca602409754f3dd1d7edd16d9a49c84e5cc83

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