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 Checks codecov Translation status Contributor Covenant Discord Alliance Auth Compatibility

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.5

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.5

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.5.tar.gz (80.6 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.5-py3-none-any.whl (122.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aa_permission_management-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c4c688625dd9f36e1d007ca2aaea302173c45dd0f8f1c2be41f0aa7a15422f77
MD5 04876aa2ca773a6887aec79c93426207
BLAKE2b-256 5dd171b5f0e380f33c1810619918f173e32c02cfbe100b3846c7ecdb75af7810

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_permission_management-0.0.5.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.5-py3-none-any.whl.

File metadata

File hashes

Hashes for aa_permission_management-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 94662d3b4fb05e9f491b379d166d7eacdf361f02efe3182b7cbe639e4cdc94d0
MD5 e7b1c971c16d355cb76eac3ce2a94edd
BLAKE2b-256 b7c0f7ae1e4b3e3c0fe49a64d6902d70ffade2484435a91c49eae61731a1ac81

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_permission_management-0.0.5-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