diff options
Diffstat (limited to 'ishtar/furnitures/menus.py')
-rw-r--r-- | ishtar/furnitures/menus.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ishtar/furnitures/menus.py b/ishtar/furnitures/menus.py index 12c81ced3..d2fa5fba4 100644 --- a/ishtar/furnitures/menus.py +++ b/ishtar/furnitures/menus.py @@ -168,6 +168,23 @@ class Menu: 'delete_own_operation']), ],), ]), + SectionItem('record_management', _(u"Context record management"), + childs=[SectionItem('by_operation', _(u"By operation"), + childs=[ + MenuItem('record_creation', _(u"Creation"), + model=models.ContextRecord, + access_controls=['add_contextrecord', + 'add_own_contextrecord']), + MenuItem('record_modification', _(u"Modification"), + model=models.ContextRecord, + access_controls=['change_contextrecord', + 'change_own_contextrecord']), + MenuItem('record_deletion', _(u"Deletion"), + model=models.ContextRecord, + access_controls=['delete_contextrecord', + 'delete_own_contextrecord']), + ],), + ]) ] self.items = {} |