Jeremy Stretch - Leveraging the ORM to enforce object level permissions

Django provides a robust permissions framework out of the box, but it only works at the model level. What if we want to apply permissions to specific objects based on their attributes? In NetBox, we do exactly that by leveraging the ORM, JSON, and database transactions.

This talk was presented at: https://2021.djangocon.us/talks/leveraging-the-orm-to-enforce-object/

LINKS: Follow Jeremy Stretch 👇 On Twitter: https://twitter.com/jstretch85 On GitHub: https://github.com/jeremystretch

Follow DjangCon US 👇 https://twitter.com/djangocon

Follow DEFNA 👇 https://twitter.com/defnado https://www.defna.org/

Video production by the speaker and DjangoCon US 2021 Volunteers.

Date Added: September 19, 2024

Watch Video