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

Uploaded Source

Built Distribution

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