Skip to content

Dmitri-Sintsov/django-organizations-permissions

Repository files navigation

django-organizations-permissions

Django auth backend and DRF Permissions class for django-organizations.

Installation

Add next line to requirements.txt file:

git+https://github.com/Dmitri-Sintsov/django-organizations-permissions.git

Then run:

python3 -m pip install -r requirements.txt
python3 manage.py makemigrations org_permissions
python3 manage.py migrate

Use provided sample ORGANIZATION_PERMISSIONS or create your own permissions.py then run:

python3 manage.py create_organizations_permissions --app-names=org_permissions

Usage

See sample project for the simple example.

About

Auth backend and DRF Permissions class for django-organizations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages