From 1d9d3349cadacac1c04abcd0e76bf11f6c35bde1 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Thu, 16 Sep 2021 18:26:33 +0100 Subject: [PATCH] ui: Ensure we request permission wiht the correct partition (#11060) --- ui/packages/consul-ui/app/routes/dc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/packages/consul-ui/app/routes/dc.js b/ui/packages/consul-ui/app/routes/dc.js index 1890139293..022f13dc37 100644 --- a/ui/packages/consul-ui/app/routes/dc.js +++ b/ui/packages/consul-ui/app/routes/dc.js @@ -12,6 +12,7 @@ export default class DcRoute extends Route { const permissions = await this.permissionsRepo.findAll({ dc: params.dc, ns: this.optionalParams().nspace, + partition: this.optionalParams().partition, }); // the model here is actually required for the entire application // but we need to wait until we are in this route so we know what the dc