From 3df6b003d17562128ad3b9220b2330ecea10aef3 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 23 May 2013 13:30:43 -0400 Subject: [PATCH] LP1183467 ACQ view funding source list permissions Limit the set of funding sources visible in the funding source list interface by those the user has view permissions for, not just those the user has edit permissions for. Signed-off-by: Bill Erickson Signed-off-by: Remington Steed Signed-off-by: Mike Rylander --- .../web/js/ui/default/acq/financial/list_funding_sources.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/financial/list_funding_sources.js b/Open-ILS/web/js/ui/default/acq/financial/list_funding_sources.js index 4169bb5d65..274dee633b 100644 --- a/Open-ILS/web/js/ui/default/acq/financial/list_funding_sources.js +++ b/Open-ILS/web/js/ui/default/acq/financial/list_funding_sources.js @@ -30,7 +30,7 @@ function loadFSGrid() { fieldmapper.standardRequest( ['open-ils.acq', 'open-ils.acq.funding_source.org.retrieve'], { async: true, - params: [openils.User.authtoken, null, {flesh_summary:1}], + params: [openils.User.authtoken, null, {flesh_summary:1, limit_perm : 'VIEW_FUNDING_SOURCE'}], onresponse: function(r) { /* request object*/ if(fs = openils.Util.readResponse(r)) { openils.acq.FundingSource.cache[fs.id()] = fs; -- 2.43.2