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 | |
parent | e9753c2dae9818d475deb9b66f1ee75f0e7d27a2 (diff) |
better access rights for phone_avail report, part 1, RT10464
Diffstat (limited to 'httemplate/search')
-rw-r--r-- | httemplate/search/phone_avail.html | 3 | ||||
-rwxr-xr-x | httemplate/search/report_phone_avail.html | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/search/phone_avail.html b/httemplate/search/phone_avail.html index 9f287625a..0ca09467c 100644 --- a/httemplate/search/phone_avail.html +++ b/httemplate/search/phone_avail.html @@ -74,7 +74,8 @@ <%init> die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Import'); + unless ( $FS::CurrentUser::CurrentUser->access_right('List inventory') + ); my @search = (); diff --git a/httemplate/search/report_phone_avail.html b/httemplate/search/report_phone_avail.html index c81206afc..a896a5b12 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; |