Skip to main content

Alliance Auth Plugin

Project description

Alliance Auth - Alumni

Features

  • Integration with Alliance Auth's State System, creates an maintains an Alumni State to ensure no services access is granted to Blacklisted users

Installation

Step 1 - Prepare Auth

Remove/Promote any state with a priority of 1, Alumni is considered slightly better than the built in Guest State.

Step 2 - Install from pip

pip install git+https://gitlab.com/tactical-supremacy/aa-gdpr.git

Step 3 - Configure Auth settings

Configure your Auth settings (local.py) as follows:

  • Add 'alumni' to INSTALLED_APPS
  • Add below lines to your settings file:
## Settings for AA-Alumni
# Market Orders
CELERYBEAT_SCHEDULE['alumni_run_alumni_check_all'] = {
    'task': 'alumni.tasks.run_alumni_check_all',
    'schedule': crontab(minute=0, hour=0, day_of_week=4),
}
CELERYBEAT_SCHEDULE['alumni_run_update_all_models'] = {
    'task': 'alumni.tasks.update_all_models',
    'schedule': crontab(minute=0, hour=0, day_of_week=3),
}

Step 4 - Update AA's State system

python myauth/manage.py alumni_state

Step 5 - Maintain Alliance Auth

  • Run migrations python manage.py migrate
  • Gather your staticfiles python manage.py collectstatic
  • Restart your project supervisorctl restart myauth:

Contributing

Make sure you have signed the License Agreement by logging in at https://developers.eveonline.com before submitting any pull requests. All bug fixes or features must not include extra superfluous formatting changes.

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

aa-alumni-0.1.0a0.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

aa_alumni-0.1.0a0-py3-none-any.whl (15.7 kB view hashes)

Uploaded Python 3

Supported by

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