diff options
| 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 | 
| commit | 87e688aa12067a9368617ea635189b45954ebee4 (patch) | |
| tree | 06ca2aaac46a3b30b152fa546a369c902bf084b5 | |
| parent | 5656fd567c395b713429613287f0a500ac663641 (diff) | |
| download | Ishtar-87e688aa12067a9368617ea635189b45954ebee4.tar.bz2 Ishtar-87e688aa12067a9368617ea635189b45954ebee4.zip | |
Fix access rihts for treatment files
| -rw-r--r-- | archaeological_finds/ishtar_menu.py | 16 | 
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=[ | 
