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.0.1a1.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

aa_alumni-0.0.1a1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file aa-alumni-0.0.1a1.tar.gz.

File metadata

  • Download URL: aa-alumni-0.0.1a1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for aa-alumni-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 83f2d05f9984f7995217384cd44dc35d7ecd16bbffa1b8b3a4bc95b745425021
MD5 49359160d0282acb3f1add80731dd0ef
BLAKE2b-256 2e7cffca56b3caf7047ef8b196dd4d5ae040219bffa6ff0d30116a7a2c964225

See more details on using hashes here.

File details

Details for the file aa_alumni-0.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: aa_alumni-0.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for aa_alumni-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d3142d08dfc08a006f8087774f2f987aa48aa3bd0509e7d3cd86f18a7f8c093
MD5 93c29d1cbdc1bad9de7ec794ce4ba930
BLAKE2b-256 a8eb9e197beda4ada3928c5609f9764b9156f41ebe604353e267d5b7f2366710

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