Skip to content

Django RBAC Implementation #88

Open
@app-generator

Description

@app-generator

Theory + Code sample

https://github.com/app-generator/sample-django-rbac

We need to control the access for groups. Here is the use case

  • Create 4 users
    • user_1
    • user_2
    • user_3
    • user_4
  • Create two groups
    • group_1: user_1, user_2
    • group_2: user_3, user_4
  • Create two routes and restrict access
    • route_1 -> available ONLY for group_1
    • route_2 -> available ONLY for group_2

TY!

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions