From fe0b07d939b7a27f60e928673743e19666b2366c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 30 Mar 2017 18:14:23 +0200 Subject: Permissions: remove explicit add / change / delete permissions They are not required because Meta > permissions is used to specify *extra* permissions not the basic one. Furthermore a strange bug occurs on initialization. Only done for TreatmentSource, this should be do for each model. --- archaeological_finds/models_treatments.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index d1b209134..c128dbe01 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -582,12 +582,6 @@ class TreatmentSource(Source): permissions = ( ("view_treatmentsource", ugettext(u"Can view all Treatment source")), - ("add_treatmentsource", - ugettext(u"Can add Treatment source")), - ("change_treatmentsource", - ugettext(u"Can change Treatment source")), - ("delete_treatmentsource", - ugettext(u"Can delete Treatment source")), ("view_own_treatmentsource", ugettext(u"Can view own Treatment source")), ("add_own_treatmentsource", -- cgit v1.2.3