Browse Source

ui: Ensure we request permission wiht the correct partition (#11060)

pull/11068/head
John Cowen 3 years ago committed by GitHub
parent
commit
1d9d3349ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ui/packages/consul-ui/app/routes/dc.js

1
ui/packages/consul-ui/app/routes/dc.js

@ -12,6 +12,7 @@ export default class DcRoute extends Route {
const permissions = await this.permissionsRepo.findAll({ const permissions = await this.permissionsRepo.findAll({
dc: params.dc, dc: params.dc,
ns: this.optionalParams().nspace, ns: this.optionalParams().nspace,
partition: this.optionalParams().partition,
}); });
// the model here is actually required for the entire application // 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 // but we need to wait until we are in this route so we know what the dc

Loading…
Cancel
Save