Joel Falknau 389b958ca7
Squash
2025-03-04 15:30:09 +10:00

1.7 KiB

Ship Replacement

Ship Replacement helps you to organize ship replacement programs (SRP) for your alliance.

srp

Installation

  • Add 'allianceauth.srp', to INSTALLED_APPS in your local.py

Perform Django Maintenance and restart our Web Service and Workers.

::::{tabs} :::{group-tab} Bare Metal

python manage.py migrate
python manage.py collectstatic --noinput
supervisorctl restart myauth:

::: :::{group-tab} Containerized

docker compose --env-file=.env up -d
docker compose exec allianceauth_gunicorn bash
auth migrate
auth collectstatic

::: ::::

Permissions

To use and administer this feature, users will require some of the following.

+----------------------+------------------+------------------------------------------------------------+
| Permission           | Admin Site       | Auth Site                                                  |
+======================+==================+============================================================+
| srp.access_srp       | None             | Can create an SRP request from a fleet                     |
+----------------------+------------------+------------------------------------------------------------+
| auth.srp_management  | None             | Can Approve and Deny SRP requests, Can create an SRP Fleet |
+----------------------+------------------+------------------------------------------------------------+
| srp.add_srpfleetmain | None             | Can Create an SRP Fleet                                    |
+----------------------+------------------+------------------------------------------------------------+