Character Linker for Alliance Auth
Project description
AllianceAuth CharLink
A simple app for AllianceAuth that allows users to link each character to all the AllianceAuth apps with only 1 login action.
Overview
Basic usage
- Select which app you want to link your character to
- Login on CPP site
- Character linked to the selected apps
Auditing
Users with the appropriate permission (see permissions) can audit the linked characters of the users of their corporation, alliance or auth state. A link will appear on top of the main page of the app and will redirect to a page with a table of all the linked characters of the users of the selected corporation.
A user can be audited by clicking on the link on the Main Character
column.
NEW: Users can now audit the apps they have access to. Select the app you want to audit from the dropdown menu in the audit page.
Installation
-
Install the app with
pip install aa-charlink
-
Add
'charlink',
to yourINSTALLED_APPS
inlocal.py
-
Run migrations
Current apps
I've opened an issue to track the current apps that are implemented in CharLink and the WIPs. If you want another app to be supported, please comment on the issue or reach me on the AllianceAuth discord server.
Settings
Name | Description | Default |
---|---|---|
CHARLINK_IGNORE_APPS |
List of apps to ignore. Use the name of the app as it is called in INSTALLED_APPS |
[] |
Permissions
Name | Description |
---|---|
charlink.view_corp |
Can view linked character of members of their corporation. |
charlink.view_alliance |
Can view linked character of members of their alliance. |
charlink.view_state |
Can view linked character of members of their auth state. |
Login page url
If you want to setup a template override to link the "Add character" button to the login page of this package, set the a
element to:
<a href="{% url 'charlink:index' %}" class="btn btn-block btn-info" title="Add Character">{% translate 'Add Character' %}</a>
Known issues
- For AFAT is not possible to check if the added character has a token which is still valid, it only checks if the character has ever added a token with the required scopes.
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 aa_charlink-1.1.0a1.tar.gz
.
File metadata
- Download URL: aa_charlink-1.1.0a1.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d039349d6fe5feb29cd3e2c5bf5192fbb452c0f2f581b0d7f6ad13d8d52eb186 |
|
MD5 | a2c4cfb8bf4abf431f1a48958d4de54d |
|
BLAKE2b-256 | 1015231d75ea1976b6b936b076bc1f841408d70fb20a25966162dd87f80a9159 |
File details
Details for the file aa_charlink-1.1.0a1-py3-none-any.whl
.
File metadata
- Download URL: aa_charlink-1.1.0a1-py3-none-any.whl
- Upload date:
- Size: 56.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2712a8c8472ccbac2cd3c9306b09e8c83d12a0ac3da93ebe143254258b9b3ff |
|
MD5 | 5ca726ad98207356b2d1a9cf1c332cfc |
|
BLAKE2b-256 | fd0cc0108cd2174cea1e06e67f3a3436c7aab5945d23311efc68915cfc814769 |