diff options
| author | yann <yann@yann-ubuntu.(none)> | 2011-03-08 22:00:02 +0100 |
|---|---|---|
| committer | yann <yann@yann-ubuntu.(none)> | 2011-03-08 22:00:02 +0100 |
| commit | 0ef955df91433ec4b32d462b4440c6f6cc903cdc (patch) | |
| tree | 18f0c205079b80bc7250bcc983adbcc0a9aa3829 /ishtar/furnitures/menus.py | |
| parent | 9d00615db9fef6d4e0a5bc5cdf9bc9467f24f71c (diff) | |
| parent | 8545a15a5d421a8f26d5261a1363ddaac237761d (diff) | |
| download | Ishtar-0ef955df91433ec4b32d462b4440c6f6cc903cdc.tar.bz2 Ishtar-0ef955df91433ec4b32d462b4440c6f6cc903cdc.zip | |
Merge branch 'master' of ssh://lysithea.proxience.com/home/proxience/git/ishtar
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 = {} |
