Skip to content

Commit

Permalink
Update permissions on VM change.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlipp committed Jan 23, 2025
1 parent 1cb90b0 commit 8799bcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions dev-example/test-pool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ spec:
- user: test
may:
- accessConsole
- start
- stop
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,9 @@ public void onVmDefChanged(VmDefChanged event, VmChannel channel)
continue;
}
}
updateVmDef(connection, model.get(), vmDef);

// Full update because permissions may have changed
updatePreview(connection, model.get(), vmDef);
}
}
}
Expand Down

0 comments on commit 8799bcc

Please sign in to comment.