]> git.proxmox.com Git - pve-manager.git/commit
ui: lxc options: disable features edit as non-root when container is privileged
authorFabian Ebner <f.ebner@proxmox.com>
Fri, 13 Aug 2021 09:10:12 +0000 (11:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Mar 2022 15:23:49 +0000 (16:23 +0100)
commit2bc71fd9c34a43163400e872646506479ec422c5
treea327efb0d419ba4a9a6d48f962b0c65061a2bd45
parent8c4ec1aef86c7cd77fa4d5410def06180e6ef675
ui: lxc options: disable features edit as non-root when container is privileged

The backend won't allow any edits in this case, so better just disable
the edit button altogether.

Co-developed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
www/manager6/lxc/Options.js