Skip to main content

Simple permission managewment plugin for Alliance Auth

Project description

AA Permission Management

Version License Python Django pre-commit pre-commit.ci status Code Style: black Discord Checks codecov Translation status Contributor Covenant

ko-fi

Django Permission Management in the Alliance Auth Frontend



Overview

This module provides a user interface for managing permissions within the Alliance Auth application. It allows to assign and revoke permissions for groups, and states.

AA Permission Management

For EVE Online alliances, the number of people in a group or state can grow quite large, which can lead to performance issues when trying to manage permissions through the admin backend. This module provides a more efficient way to manage permissions for large groups and states in the Alliance Auth frontend.

[!WARNING]

This module provides a user interface for managing permissions, which is an administrative task.
Please ensure to only grant access to this module to trusted users!

Installation

To install the AA Permission Management module, follow these steps:

Bare Metal Installation

Step 1: Install the Module

Make sure you're in the virtual environment (venv) of your Alliance Auth installation Then install the latest release directly from PyPi.

pip install aa-permission-management==0.0.2

Step 2: Configure Alliance Auth

Add aa_permission_management to the INSTALLED_APPS in your local.py file.

INSTALLED_APPS += [
    # ...
    "aa_permission_management",  # https://github.com/ppfeufer/aa-permission-management
    # ...
]

Step 3: Run Static Collection, Migrations, and Restart Alliance Auth

After adding the module to your configuration, run the following commands:

python manage.py collectstatic --noinput
python manage.py migrate aa_permission_management

sudo systemctl restart supervisor

Docker Installation

Step 1: Add the App

Add the app to your conf/requirements.txt:

aa-permission-management==0.0.2

Step 2: Configure Alliance Auth

Add aa_permission_management to the INSTALLED_APPS in your local.py file.

INSTALLED_APPS += [
    # ...
    "aa_permission_management",  # https://github.com/ppfeufer/aa-permission-management
    # ...
]

Step 3: Build Auth and Restart Your Containers

After adding the module to your requirements and updating the configuration, build your Docker images and restart your containers to apply the changes.

docker compose build --no-cache
docker compose --env-file=.env up -d

Step 4: Finalize the Installation

After the containers are up and running, run the migrations for the new module.

docker compose exec allianceauth_gunicorn bash

auth collectstatic
auth migrate

Changelog

See CHANGELOG.md

Translation Status

Translation status

Do you want to help translate this app into your language or improve the existing translation? - Join our team of translators!

Contributing

You want to contribute to this project? That's cool!

Please make sure to read the Contribution Guidelines.
(I promise, it's not much, just some basics)

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

aa_permission_management-0.0.2.tar.gz (79.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aa_permission_management-0.0.2-py3-none-any.whl (121.6 kB view details)

Uploaded Python 3

File details

Details for the file aa_permission_management-0.0.2.tar.gz.

File metadata

  • Download URL: aa_permission_management-0.0.2.tar.gz
  • Upload date:
  • Size: 79.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aa_permission_management-0.0.2.tar.gz
Algorithm Hash digest
SHA256 59ff348ab9f374ec63af0b286487f23fa51e7672403bb61349893dd06f876997
MD5 891fc85495c82d46b7f97486748fc078
BLAKE2b-256 63a19b3659089559066cd54518042a006714f870a8f931bbb358544357b61472

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_permission_management-0.0.2.tar.gz:

Publisher: release.yml on ppfeufer/aa-permission-management

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aa_permission_management-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aa_permission_management-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c4740291f4078ebf30ca5e3cfded6a6e826ddc284ab9681bf2c94a912d2d3255
MD5 5041e4031e2ce1a56980778cd61b5ba2
BLAKE2b-256 80b59b71aa08333a0e57190b4a51b8fd18d1f74b174ca2d79a67a92d4d7fb0ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_permission_management-0.0.2-py3-none-any.whl:

Publisher: release.yml on ppfeufer/aa-permission-management

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page