mirror of https://github.com/rancher/dashboard.git
Errors are not displaying when standard user attempts to create a project with non-default Pod Security Policy (#6278)
This commit is contained in:
parent
5dcdbd29cb
commit
886238dea0
|
|
@ -74,7 +74,7 @@ export default class Project extends HybridModel {
|
|||
|
||||
const newValue = await norman.save({ replace: forceReplaceOnReq });
|
||||
|
||||
newValue.doAction('setpodsecuritypolicytemplate', { podSecurityPolicyTemplateId: this.spec.podSecurityPolicyTemplateId || null });
|
||||
await newValue.doAction('setpodsecuritypolicytemplate', { podSecurityPolicyTemplateId: this.spec.podSecurityPolicyTemplateId || null });
|
||||
|
||||
await this.$dispatch('management/findAll', { type: MANAGEMENT.PROJECT, opt: { force: true } }, { root: true });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue