projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ede040e
)
fix config menu access for message templates without Configuration, RT#25994
author
Ivan Kohler
<ivan@freeside.biz>
Mon, 9 Dec 2013 23:06:30 +0000
(15:06 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Mon, 9 Dec 2013 23:06:30 +0000
(15:06 -0800)
httemplate/elements/menu.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/menu.html
b/httemplate/elements/menu.html
index
81aff3d
..
8e369f4
100644
(file)
--- a/
httemplate/elements/menu.html
+++ b/
httemplate/elements/menu.html
@@
-707,7
+707,11
@@
$menu{'Configuration'} = [ \%config_menu, 'Configuration and setup' ]
|| $curuser->access_right('Broadband configuration')
|| $curuser->access_right('Phone configuration')
|| $curuser->access_right('Edit advertising sources')
|| $curuser->access_right('Broadband configuration')
|| $curuser->access_right('Phone configuration')
|| $curuser->access_right('Edit advertising sources')
- || $curuser->access_right('Edit global advertising sources');
+ || $curuser->access_right('Edit global advertising sources')
+ || $curuser->access_right('View templates')
+ || $curuser->access_right('View global templates')
+ || $curuser->access_right('Edit templates')
+ || $curuser->access_right('Edit global templates');
$menu{'Help'} = [ \%help_menu, '' ];
$menu{'Help'} = [ \%help_menu, '' ];