summaryrefslogtreecommitdiff
path: root/httemplate/search/phone_avail.html
diff options
context:
space:
mode:
authorlevinse <levinse>2010-12-28 16:29:58 +0000
committerlevinse <levinse>2010-12-28 16:29:58 +0000
commit3560f41760e7a9f1489b5f96d8cf162ee25bed9a (patch)
tree4c6955decfa8f37e9e41361c99fcc77208730104 /httemplate/search/phone_avail.html
parente9753c2dae9818d475deb9b66f1ee75f0e7d27a2 (diff)
better access rights for phone_avail report, part 1, RT10464
Diffstat (limited to 'httemplate/search/phone_avail.html')
-rw-r--r--httemplate/search/phone_avail.html3
1 files changed, 2 insertions, 1 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 = ();