Skip to main content

Alliance Auth Plugin

Project description

Group Assigner

Simple plugin for AllianceAuth to assign groups to users when they change states.

Installation

  1. pip install allianceauth-group-assigner
  2. add 'groupassign', to your INSTALLED_APPS in the local.py,
  3. run migrations
  4. restart auth

Setup

  • Add groups to the required State in admin admin/groupassign/stategroupbinding/

  • this module will not remove groups

    • you can achieve this with the groups state permissions.
  • If you wish to sync you existing users there is a task that can be setup.

    1. In Django Admin select periodic tasks
    2. Click Add New
    3. Se the name to Something meaning full "Sync all State Group Bindings"
    4. Pick groupassign.tasks.check_all_bindingsfrom the task drop down
    5. Ensure Enabled is checked
    6. Click The green arrow inline with the crontab schedule to add a new cron.
    7. Set the cron to: Minutes 0, Hours 0, Days of the Week 0, rest leave as * this will run the updates first day of each week at GMT 0000 (Or set it to what ever timer you like)
    8. Click Save on the cron window.
    9. Click save on The Periodic task.
    10. select the new task and pick Run Selected Task from the dropdown at the top and click Go

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. If you have an issue with formatting, push it in it's own PR for discussion.

Change log

  • v0.0.1
    • First release

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

allianceauth-group-assigner-0.0.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file allianceauth-group-assigner-0.0.1.tar.gz.

File metadata

  • Download URL: allianceauth-group-assigner-0.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9

File hashes

Hashes for allianceauth-group-assigner-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2e5873d453d1748b44fc911a9718947427173a376fc799a535f9bf01156c3537
MD5 15faa17290091befd8c92822397d8488
BLAKE2b-256 1060f92de6d9018f6e13c5ff11911cee6d16a3eb689e03aadd06f679546446b2

See more details on using hashes here.

File details

Details for the file allianceauth_group_assigner-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: allianceauth_group_assigner-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.9

File hashes

Hashes for allianceauth_group_assigner-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1bc16115f5f942355f97ef6f9a6aa0f6b68c4ea498ad840a5977712834f457fd
MD5 3df9a0382dbbb30a71d4d5df59cdcf61
BLAKE2b-256 a262274b562f3fbf2f666c37b5aea38c69e5ea90d2e70814cb7ee66ebc986961

See more details on using hashes here.

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