https://github.com/timonweb/django-debug-permissions
Get a list of all user permissions available in the system
https://github.com/timonweb/django-debug-permissions
Last synced: over 1 year ago
JSON representation
Get a list of all user permissions available in the system
- Host: GitHub
- URL: https://github.com/timonweb/django-debug-permissions
- Owner: timonweb
- License: bsd-3-clause
- Created: 2017-06-06T16:03:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T07:56:59.000Z (about 6 years ago)
- Last Synced: 2025-04-15T06:12:20.801Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 29
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Django Debug Permissions
Get a list of all user permissions available in the system
This app adds a single manage.py command that lists all user permissions available in the system.
## Supported versions
Haven't tested it with earlier version, but the app works for sure with:
* Django: 1.11+
* Python: 3.4+
## Installation
1. Install using PIP:
`pip install django-debug-permissions`
2. Add **debug_permissions** to INSTALLED_APPS:
`INSTALLED_APPS += ['debug_permissions']`
## Usage
Run `python manage.py get_all_permissions` and you should get a list of all permissions similar to:
```
account.add_emailaddress
account.add_emailconfirmation
account.change_emailaddress
account.change_emailconfirmation
account.delete_emailaddress
account.delete_emailconfirmation
auth.add_group
auth.add_permission
auth.change_group
auth.change_permission
auth.delete_group
auth.delete_permission
...
sessions.add_session
sessions.change_session
sessions.delete_session
sites.add_site
sites.change_site
sites.delete_site
users.add_user
users.change_user
users.delete_user
```
## Contributors
Tim Kamanin (tim@timonweb.com, http://timonweb.com)
## Cross-promotion:
Checkout these modules if you:
* are tired of locating manage.py and typing `python manage.py` everytime - Django-manage.py-anywhere (https://github.com/timonweb/Django-manage.py-anywhere) will be your saviour;
* want to download database and media dumps via Django admin - Django Database Backup UI (https://github.com/timonweb/django-dbbackup-ui) will help you;