Update permissions on VM change.
This commit is contained in:
parent
1cb90b0c94
commit
8799bcc8f2
2 changed files with 3 additions and 3 deletions
|
|
@ -11,5 +11,3 @@ spec:
|
||||||
- user: test
|
- user: test
|
||||||
may:
|
may:
|
||||||
- accessConsole
|
- accessConsole
|
||||||
- start
|
|
||||||
- stop
|
|
||||||
|
|
|
||||||
|
|
@ -676,7 +676,9 @@ public class VmAccess extends FreeMarkerConlet<VmAccess.ResourceModel> {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
updateVmDef(connection, model.get(), vmDef);
|
|
||||||
|
// Full update because permissions may have changed
|
||||||
|
updatePreview(connection, model.get(), vmDef);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue