Add option to notify approvers about new group requests

This commit is contained in:
Erik Kalkoken
2021-11-20 01:32:20 +00:00
committed by Ariel Rin
parent 2bd2c09c23
commit 982cac8c43
8 changed files with 411 additions and 160 deletions

View File

@@ -35,6 +35,19 @@ Group leaders have the same abilities as users with the `group_management` permi
This allows you to more finely control who has access to manage which groups.
## Settings
Here is a list of available settings for Group Management. They can be configured by adding them to your AA settings file (``local.py``).
Note that all settings are optional and the app will use the documented default settings if they are not used.
```eval_rst
+---------------------------------------------+---------------------------------------------------------------------------+------------+
| Name | Description | Default |
+=============================================+===========================================================================+============+
| ``GROUPMANAGEMENT_REQUESTS_NOTIFICATION`` | Send Auth notifications to all group leaders for join and leave requests. | ``False`` |
+---------------------------------------------+---------------------------------------------------------------------------+------------+
```
## Permissions
Group Management should be mostly done using group leaders, a series of permissions are included below for thoroughness.

View File

@@ -4,12 +4,12 @@ sphinx_rtd_theme==0.5.0
recommonmark==0.6.0
# Autodoc dependencies
django>=3.1.1,<4.0.0
django>=3.2,<4.0.0
django-celery-beat>=2.0.0
django-bootstrap-form
django-sortedm2m
django-esi>=1.5,<3.0
celery>=4.3.0,<5.0.0,!=4.4.4
django-esi>=3,<4
celery>5,<6
celery_once
passlib
redis>=3.3.1,<4.0.0