mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-10 13:00:16 +02:00
Gunicorn needs to be run whilist in the folder for context, folder path is not enough Correct static path, note to check nginx user Capitalization of services and small typos Service examples updated to their latest versions and download links Expanded /var/www chowns for Nginx and Apache examples Add in a troubleshooting note for no images being displayed (permissions issue) and gunicorn not execting (file path context) Correct formatting. Reword a few parts. Remove "new in 1.15".
41 lines
1.7 KiB
Markdown
41 lines
1.7 KiB
Markdown
# Permissions Auditing
|
|
|
|
Access to most of Alliance Auth's features are controlled by Django's permissions system. In order to help you secure your services, Alliance Auth provides a permissions auditing tool.
|
|
|
|
## Installation
|
|
|
|
Add `'allianceauth.permissions_tool',` to your `INSTALLED_APPS` list in your auth project's settings file.
|
|
|
|
## Usage
|
|
|
|
### Access
|
|
|
|
In order to grant users access to the permissions auditing tool they will need to be granted the `permissions_tool.audit_permissions` permission or be a superuser.
|
|
|
|
When a user has access to the tool they will see the "Permissions Audit" menu item under the "Util" sub menu.
|
|
|
|
|
|
### Permissions Overview
|
|
|
|
The first page gives you a general overview of permissions and how many users have access to each permission.
|
|
|
|

|
|
|
|
**App**, **Model** and **Code Name** contain the internal details of the permission while **Name** contains the name/description you'll see in the admin panel.
|
|
|
|
**Users** is the number of users explicitly granted this permission on their account.
|
|
|
|
**Groups** is the number of groups with this permission assigned.
|
|
|
|
**Groups Users** is the total number of users in all of the groups with this permission assigned.
|
|
|
|
Clicking on the **Code Name** link will take you to the [Permissions Audit Page](#permissions-audit-page)
|
|
|
|
### Permissions Audit Page
|
|
|
|
The permissions audit page will give you an overview of all the users who have access to this permission either directly or granted via group membership.
|
|
|
|

|
|
|
|
Please note that users may appear multiple times if this permission is granted via multiple sources.
|