Having issues implementing DjangoModelPermissions on DRF

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/django

Our great sponsors
  • Zigi - Workflow assistant built for devs & their teams
  • Sonar - Write Clean Python Code. Always.
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • django-rest-framework

    Web APIs for Django. 🎸

    As you can see, GET return an empty list, later it's used to return a boolean to see if the user has permissions ( you can try to play with the codeCustomDjangoModelPermission only add the proper elt for GET (with a deepcopy to avoid modifying the original DjangoModelPermissions). This modification will return false when django will check if an authenticated user without the view permissions can see the instances of the Tool model.

  • drf-model-perm

    Testing Django DRF DjangoModelPermissions

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts