From ab588ee03dc822e21dff0d0369300526aebddbdd Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 28 Sep 2018 17:58:07 +0200 Subject: Fix access rihts for treatment files --- archaeological_finds/ishtar_menu.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'archaeological_finds/ishtar_menu.py') diff --git a/archaeological_finds/ishtar_menu.py b/archaeological_finds/ishtar_menu.py index 715644b61..c72e9c089 100644 --- a/archaeological_finds/ishtar_menu.py +++ b/archaeological_finds/ishtar_menu.py @@ -88,23 +88,23 @@ MENU_SECTIONS = [ MenuItem('treatmentfle_search', _(u"Search"), model=models.TreatmentFile, - access_controls=['view_treatmentfile', - 'view_own_treatmentfile']), + access_controls=['view_filetreatment', + 'view_own_filetreatment']), MenuItem('treatmentfle_creation', _(u"Creation"), model=models.TreatmentFile, - access_controls=['change_treatmentfile', - 'change_own_treatmentfile']), + access_controls=['change_filetreatment', + 'change_own_filetreatment']), MenuItem('treatmentfle_modification', _(u"Modification"), model=models.TreatmentFile, - access_controls=['change_treatmentfile', - 'change_own_treatmentfile']), + access_controls=['change_filetreatment', + 'change_own_filetreatment']), MenuItem('treatmentfle_deletion', _(u"Deletion"), model=models.TreatmentFile, - access_controls=['change_treatmentfile', - 'change_own_treatmentfile']), + access_controls=['change_filetreatment', + 'change_own_filetreatment']), SectionItem( 'admin_act_fletreatments', _(u"Administrative act"), childs=[ -- cgit v1.2.3