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

This commit is contained in:
John Cowen 2021-09-16 18:26:33 +01:00 committed by GitHub
parent 4e7b6888e3
commit edfe98982d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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