Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gmork2/drf-hierarchy
MPTT groups tree to provide permissions hierarchy in django
https://github.com/gmork2/drf-hierarchy
django django-rest-framework mptt python
Last synced: 4 days ago
JSON representation
MPTT groups tree to provide permissions hierarchy in django
- Host: GitHub
- URL: https://github.com/gmork2/drf-hierarchy
- Owner: gmork2
- License: gpl-3.0
- Created: 2019-12-11T19:21:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-09T01:49:55.000Z (3 months ago)
- Last Synced: 2024-11-10T11:04:48.998Z (2 months ago)
- Topics: django, django-rest-framework, mptt, python
- Language: Python
- Homepage:
- Size: 88.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drf-hierarchy
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Build Status](https://travis-ci.com/gmork2/drf-hierarchy.svg?branch=master)](https://travis-ci.com/gmork2/drf-hierarchy)This app implements a modified preorder tree traversal with django groups
in order to provide permissions inheritance.```shell script
docker-compose up -d
docker-compose exec drf-hierarchy python3 manage.py createsuperuser
x-www-browser 0.0.0.0:8000/admin
x-www-browser 0.0.0.0:8000
```