summaryrefslogtreecommitdiff
path: root/archaeological_finds/ishtar_menu.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-07 12:16:37 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-04-07 12:16:37 +0200
commit6b87dae76d931ead9838db1f66a6ff1fe1cc1dd1 (patch)
tree0a2273d9db0499214e18a041987339eac9d20ac9 /archaeological_finds/ishtar_menu.py
parent75730c0ac55c935c03e58977405b4b8a2233595d (diff)
parent3d8b8d86f01ecb9b37e24e25fd15500b8f4fb2a0 (diff)
downloadIshtar-6b87dae76d931ead9838db1f66a6ff1fe1cc1dd1.tar.bz2
Ishtar-6b87dae76d931ead9838db1f66a6ff1fe1cc1dd1.zip
Merge branch 'master' into v0.9
Diffstat (limited to 'archaeological_finds/ishtar_menu.py')
-rw-r--r--archaeological_finds/ishtar_menu.py32
1 files changed, 16 insertions, 16 deletions
diff --git a/archaeological_finds/ishtar_menu.py b/archaeological_finds/ishtar_menu.py
index 44a19dc02..4877e442c 100644
--- a/archaeological_finds/ishtar_menu.py
+++ b/archaeological_finds/ishtar_menu.py
@@ -112,23 +112,23 @@ MENU_SECTIONS = [
MenuItem('treatmentfle_search',
_(u"Search"),
model=models.TreatmentFile,
- access_controls=['view_find',
- 'view_own_find']),
+ access_controls=['view_treatmentfile',
+ 'view_own_treatmentfile']),
MenuItem('treatmentfle_creation',
_(u"Creation"),
model=models.TreatmentFile,
- access_controls=['change_find',
- 'change_own_find']),
+ access_controls=['change_treatmentfile',
+ 'change_own_treatmentfile']),
MenuItem('treatmentfle_modification',
_(u"Modification"),
model=models.TreatmentFile,
- access_controls=['change_find',
- 'change_own_find']),
+ access_controls=['change_treatmentfile',
+ 'change_own_treatmentfile']),
MenuItem('treatmentfle_deletion',
_(u"Deletion"),
model=models.TreatmentFile,
- access_controls=['change_find',
- 'change_own_find']),
+ access_controls=['change_treatmentfile',
+ 'change_own_treatmentfile']),
SectionItem(
'admin_act_fletreatments', _(u"Administrative act"),
childs=[
@@ -192,23 +192,23 @@ MENU_SECTIONS = [
MenuItem('treatment_search',
_(u"Search"),
model=models.Treatment,
- access_controls=['view_find',
- 'view_own_find']),
+ access_controls=['view_treatment',
+ 'view_own_treatment']),
MenuItem('treatment_creation',
_(u"Creation"),
model=models.Treatment,
- access_controls=['change_find',
- 'change_own_find']),
+ access_controls=['change_treatment',
+ 'change_own_treatment']),
MenuItem('treatment_modification',
_(u"Modification"),
model=models.Treatment,
- access_controls=['change_find',
- 'change_own_find']),
+ access_controls=['change_treatment',
+ 'change_own_treatment']),
MenuItem('treatment_deletion',
_(u"Deletion"),
model=models.Treatment,
- access_controls=['change_find',
- 'change_own_find']),
+ access_controls=['change_treatment',
+ 'change_own_treatment']),
]),
SectionItem(
'admin_act_treatments', _(u"Administrative act"),