Jeremy Stretch - Leveraging the ORM to enforce object level permissions

Поділитися
Вставка
  • Опубліковано 4 лис 2024
  • 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: 2021.djangocon...
    LINKS:
    Follow Jeremy Stretch 👇
    On Twitter: / jstretch85
    On GitHub: github.com/jer...
    Follow DjangCon US 👇
    / djangocon
    Follow DEFNA 👇
    / defnado
    www.defna.org/
    Video production by the speaker and DjangoCon US 2021 Volunteers.

КОМЕНТАРІ •