allianceauth-group-assigner
Alliance Auth Plugin
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
No reviews yet...
Python Requirements
- allianceauth
Required Python packages to be installed and other Python requirement.
App Dependencies
Required apps:
-
Used by apps:
-
Dependencies to other apps registered in this app directory.
Classifiers
- Environment :: Web Environment
- Framework :: Django
- Intended Audience :: Developers
- License :: OSI Approved :: GNU General Public License v3 (GPLv3)
- Operating System :: OS Independent
- Programming Language :: Python :: 3.6
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
Version
0.0.1
License
GPLv3
Homepage
https://github.com/pvyParts/allianceauth-group-assigner
PyPI
https://pypi.org/project/allianceauth-group-assigner/
Last updated
4 years, 1 month ago
First published
4 years, 1 month ago
Category
Plugin Apps
Rating
-Authors
Aaron Kable
Maintainers
-
Please login to see more options.