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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file aa-alumni-0.1.0a0.tar.gz.

File metadata

  • Download URL: aa-alumni-0.1.0a0.tar.gz
  • Upload date:
  • Size: 12.3 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.1.0a0.tar.gz
Algorithm Hash digest
SHA256 394988689866f7dfcf39d992afed96e03bdb4d98351aa92626f5392924ffd56b
MD5 5386e9d639d4ab37c8b3670928d5e58d
BLAKE2b-256 eb87dbad190efae69fe85f92ba796ae9dd32daff32f91987807a4d172bfde37c

See more details on using hashes here.

File details

Details for the file aa_alumni-0.1.0a0-py3-none-any.whl.

File metadata

  • Download URL: aa_alumni-0.1.0a0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 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.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 40e3ebb6ec3db950860840618605f4e672032ecd47ac2aeb76c711d140a5683a
MD5 6ba80f3f171231a87c2fa444ccaf0488
BLAKE2b-256 7fe7fbd04917835770c8815314cc2d1645c3bdf6e105300b592965c8d67f5861

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