class documentation
class InstitutionCheckObjectMixin(UserPassesTestMixin):
Known subclasses: lyprox.patients.views.CreateDiagnoseView
, lyprox.patients.views.CreateTumorView
, lyprox.patients.views.DeleteDiagnoseView
, lyprox.patients.views.DeleteTumorView
, lyprox.patients.views.UpdateDiagnoseView
, lyprox.patients.views.UpdateTumorView
Mixin that makes sure only users from the institution that created the patient can edit that patient's diagnose and tumor.
Method | test |
Undocumented |