https://github.com/k-tech-italy/django-temprole
Django temporary role grant
https://github.com/k-tech-italy/django-temprole
auth authorization django role
Last synced: 2 months ago
JSON representation
Django temporary role grant
- Host: GitHub
- URL: https://github.com/k-tech-italy/django-temprole
- Owner: k-tech-italy
- License: bsd-3-clause
- Created: 2025-11-10T13:56:43.000Z (7 months ago)
- Default Branch: develop
- Last Pushed: 2025-11-10T15:38:38.000Z (7 months ago)
- Last Synced: 2026-01-03T06:24:47.027Z (6 months ago)
- Topics: auth, authorization, django, role
- Language: Python
- Homepage: https://k-tech-italy.github.io/django-temprole/
- Size: 128 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# django-temprole
[](https://badge.fury.io/py/django-temprole)
[](https://badge.fury.io/gh/k-tech-italy%2Fdjango-temprole)
[](https://github.com/k-tech-italy/django-temprole/actions/workflows/test.yml)
[](https://github.com/k-tech-italy/django-temprole/actions/workflows/lint.yml)
[](https://github.com/k-tech-italy/django-temprole/actions/workflows/docs.yml)
[](https://github.com/PyCQA/bandit)
[](https://pypi.org/project/django-temprole/)
[](https://pypi.org/project/django-concurrency/)
django-temprole is a Django app.
NOTE: Provide a more detailed description here.
## Dependencies
* Python 3.10 or later
* Django 4.2 or later
## Installation
* Install django-temprole using your package manager of choice, e.g. Pip:
```bash
pip install
```
add the django_temprole in the settings:
```python
INSTALLED_APPS = [
...
'django_temprole',
...
]
```
and add the authentication backend in the settings:
```python
AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',
'django_temprole.backends.TemporaryPermissionBackend',
]
```
* Check that your configuration is valid:
```bash
python manage.py check
```
## Bug reports and requests for enhancements
Please open an issue on the project's [issue tracker on GitHub](https://github.com/k-tech-italy/django-temprole/issues).
## Contributing to the project
See the [contribution guide](CONTRIBUTING.md).
## Licensing
All rights reserved.