summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-09-28 17:58:07 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-09-28 17:58:07 +0200
commitab588ee03dc822e21dff0d0369300526aebddbdd (patch)
tree06ca2aaac46a3b30b152fa546a369c902bf084b5
parent4fcafb2275f1f4fe366fb4ac5e162e938ff65a75 (diff)
downloadIshtar-ab588ee03dc822e21dff0d0369300526aebddbdd.tar.bz2
Ishtar-ab588ee03dc822e21dff0d0369300526aebddbdd.zip
Fix access rihts for treatment files
-rw-r--r--archaeological_finds/ishtar_menu.py16
1 files changed, 8 insertions, 8 deletions
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=[