Skip to content

timonweb/django-debug-permissions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. 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 ([email protected], http://timonweb.com)

Cross-promotion:

Checkout these modules if you:

About

Get a list of all user permissions available in the system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages