Alliance Auth Plugin
Project description
Group Assigner
Simple plugin for AllianceAuth to assign groups to users when they change states.
Installation
pip install allianceauth-group-assigner
- add
'groupassign',
to yourINSTALLED_APPS
in the local.py, - run migrations
- 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.
- In Django Admin select periodic tasks
- Click Add New
- Se the name to Something meaning full "Sync all State Group Bindings"
- Pick
groupassign.tasks.check_all_bindings
from the task drop down - Ensure Enabled is checked
- Click The green arrow inline with the crontab schedule to add a new cron.
- Set the cron to: Minutes
0
, Hours0
, Days of the Week0
, 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) - Click Save on the cron window.
- Click save on The Periodic task.
- select the new task and pick
Run Selected Task
from the dropdown at the top and clickGo
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e5873d453d1748b44fc911a9718947427173a376fc799a535f9bf01156c3537 |
|
MD5 | 15faa17290091befd8c92822397d8488 |
|
BLAKE2b-256 | 1060f92de6d9018f6e13c5ff11911cee6d16a3eb689e03aadd06f679546446b2 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bc16115f5f942355f97ef6f9a6aa0f6b68c4ea498ad840a5977712834f457fd |
|
MD5 | 3df9a0382dbbb30a71d4d5df59cdcf61 |
|
BLAKE2b-256 | a262274b562f3fbf2f666c37b5aea38c69e5ea90d2e70814cb7ee66ebc986961 |