diff options
author | ivan <ivan> | 2010-07-22 16:47:43 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-07-22 16:47:43 +0000 |
commit | f07729b883f93aab6eaf4dffaa9b725e36c6852a (patch) | |
tree | 931ec95bf8aca4c45fa89c940e70cf489baa18ee /httemplate/edit | |
parent | f4658067b9a1dd0564be8fd590a1e541681bfe27 (diff) |
allow Configuration ACL to edit templates, RT#8324
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/msg_template.html | 3 | ||||
-rw-r--r-- | httemplate/edit/process/msg_template.html | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html index 68725e243..986629cd7 100644 --- a/httemplate/edit/msg_template.html +++ b/httemplate/edit/msg_template.html @@ -17,6 +17,7 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Edit templates') - || $FS::CurrentUser::CurrentUser->access_right('Edit global templates'); + || $FS::CurrentUser::CurrentUser->access_right('Edit global templates') + || $FS::CurrentUser::CurrentUser->access_right('Configuration'); </%init> diff --git a/httemplate/edit/process/msg_template.html b/httemplate/edit/process/msg_template.html index 5cf88bfad..70d451b72 100644 --- a/httemplate/edit/process/msg_template.html +++ b/httemplate/edit/process/msg_template.html @@ -7,6 +7,7 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Edit templates') - || $FS::CurrentUser::CurrentUser->access_right('Edit global templates'); + || $FS::CurrentUser::CurrentUser->access_right('Edit global templates') + || $FS::CurrentUser::CurrentUser->access_right('Configuration'); </%init> |