Skip to content

titanjer/django-prbac-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

$ docker-compose build && docker-compose up -d 
$ docker-compose exec app python /app/manage.py migrate
$ docker-compose exec app python /app/manage.py loaddata test_data.json 
$ docker-compose exec app python /app/test_example_gogolook.py

Model Naming

  • Role for User (u_{user_id})
  • Role for Admin (a_{user_id})
  • Role for Group (g_{group_name})
  • Role for Record (record)
    • record
    • action
  • Role for Combined Group (cg_{group_name}})

Example

django_prbac_example

About

Django PRBAC example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published