diff options
author | levinse <levinse> | 2010-12-28 16:29:58 +0000 |
---|---|---|
committer | levinse <levinse> | 2010-12-28 16:29:58 +0000 |
commit | 3560f41760e7a9f1489b5f96d8cf162ee25bed9a (patch) | |
tree | 4c6955decfa8f37e9e41361c99fcc77208730104 /httemplate/search/report_phone_avail.html | |
parent | e9753c2dae9818d475deb9b66f1ee75f0e7d27a2 (diff) |
better access rights for phone_avail report, part 1, RT10464
Diffstat (limited to 'httemplate/search/report_phone_avail.html')
-rwxr-xr-x | httemplate/search/report_phone_avail.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/httemplate/search/report_phone_avail.html b/httemplate/search/report_phone_avail.html index c81206a..a896a5b 100755 --- a/httemplate/search/report_phone_avail.html +++ b/httemplate/search/report_phone_avail.html @@ -83,8 +83,7 @@ <%init> die "access denied" - unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') && - $FS::CurrentUser::CurrentUser->access_right('List packages') + unless ( $FS::CurrentUser::CurrentUser->access_right('List inventory') ); my $conf = new FS::Conf; |