0

I'm on a django app about academies, teachers and students. I want to set some permissions, and the first one is that only the user who create a object (academy, teacher or student) could edit or remove it.

There's a object property that knows the user who create it? Or I should create a foreign key to it?

My idea is to read this property and check it when building the HTML to show or not the edit and remove button, is this okay?

Sentient07
  • 1,270
  • 1
  • 16
  • 24
rul3s
  • 332
  • 1
  • 2
  • 18

0 Answers0