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_APPSin 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_bindingsfrom 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 Taskfrom 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
Metadata
Release files for allianceauth-group-assigner 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| allianceauth-group-assigner-0.0.1.tar.gz | 5.1 kB | Without provenance | Details for allianceauth-group-assigner-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| allianceauth_group_assigner-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for allianceauth_group_assigner-0.0.1-py3-none-any.whl |
Total release size: 13.3 kB
Release files / allianceauth-group-assigner-0.0.1.tar.gz
| Download URL | allianceauth-group-assigner-0.0.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e5873d453d1748b44fc911a9718947427173a376fc799a535f9bf01156c3537
|
|
BLAKE2b-256 checksum How to use checksums |
1060f92de6d9018f6e13c5ff11911cee6d16a3eb689e03aadd06f679546446b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / allianceauth_group_assigner-0.0.1-py3-none-any.whl
| Download URL | allianceauth_group_assigner-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bc16115f5f942355f97ef6f9a6aa0f6b68c4ea498ad840a5977712834f457fd
|
|
BLAKE2b-256 checksum How to use checksums |
a262274b562f3fbf2f666c37b5aea38c69e5ea90d2e70814cb7ee66ebc986961
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for allianceauth-group-assigner 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.