How to implement User Authorisation in a large Django App?

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • django-currentuser

    Conveniently store reference to request user on thread/db level.

  • After that you can automate filling those fields by overriding the save() method on the abstract model. I use https://github.com/PaesslerAG/django-currentuser to automatically get the current logged in user in the model context.

  • django-jsonsaver

    An API and web client for CRUDing arbitrary JSON data

  • To see a real-world example that you can copy from, you can check out this toy project I made, specifically the permissions.py and views.py files.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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