Metadata-Version: 2.1
Name: aa-memberaudit-securegroups
Version: 0.3.0
Summary: Member Audit Secure Groups integration for Alliance Auth
Home-page: https://gitlab.com/eclipse-expeditions/aa-memberaudit-securegroups
Author: Rebecca Murphy
Author-email: rebecca@rcmurphy.me
Maintainer: Peter Pfeufer
Maintainer-email: develop@ppfeufer.de
License: GPL-3.0
Project-URL: Issue / Bug Reports, https://gitlab.com/eclipse-expeditions/aa-memberaudit-securegroups/-/issues
Project-URL: Changelog, https://gitlab.com/eclipse-expeditions/aa-memberaudit-securegroups/-/blob/master/CHANGELOG.md
Keywords: allianceauth,memberaudit,securegroups
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: ~=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aa-memberaudit (>=2.0.0)
Requires-Dist: allianceauth (>=3.0.0)
Requires-Dist: allianceauth-securegroups (>=0.5.1)

# Member Audit Secure Groups Integration for Alliance Auth

This is an integration between [Member Audit](https://gitlab.com/ErikKalkoken/aa-memberaudit) and [Secure Groups](https://github.com/pvyParts/allianceauth-secure-groups) for [Alliance Auth](https://gitlab.com/allianceauth/allianceauth) (AA).

![release](https://img.shields.io/pypi/v/aa-memberaudit-securegroups?label=release)
![License](https://img.shields.io/badge/license-GPL-green)
![python](https://img.shields.io/pypi/pyversions/aa-memberaudit-securegroups)
![django](https://img.shields.io/pypi/djversions/aa-memberaudit-securegroups?label=django)
![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)
![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)

## Features

- Activity Filter
- Asset Filter
- Character Age Filter
- Compliance Filter
- Skill Set Filter
- Skill Point Filter

# Installation

## Requirements

This integration needs [Member Audit](https://gitlab.com/ErikKalkoken/aa-memberaudit) and [Secure Groups](https://github.com/pvyParts/allianceauth-secure-groups) to function. Please make sure they are installed before continuing.

## Steps

### Step 1 - Install the Package

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 2 - Config

Add `memberaudit_securegroups` to your `INSTALLED_APPS`.

### Step 3 - Finalize App Installation

Run migrations:

```bash
python manage.py migrate
```

Restart your supervisor services for Auth

# Filters

| Filter Name        | Matches if...                                                           |
|--------------------|-------------------------------------------------------------------------|
| Activity Filter    | User has *at least one* character active within the last X days         |
| Age Filter         | User has *at least one* character over X days old                       |
| Asset Filter       | User has *at least one* character with *any of* the assets defined      |
| Compliance Filter  | User has *all* characters registered on Member Audit                    |
| Skill Point Filter | User has *at least one* character with at least X skill points          |
| Skill Set Filter   | User has *at least one* character with *any of* the selected skill sets |
