[pve-devel] applied: [PATCH v2 manager] ui: lxc options: disable features edit as non-root when container is privileged

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 16 16:24:06 CET 2022


On 13.08.21 11:10, Fabian Ebner wrote:
> 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 at proxmox.com>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> Changes from v1:
>     * split cases based on 'key'
>     * keep logic for {dis,en}abling edit button for features in one
>       place
> 
>  www/manager6/lxc/Options.js | 13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list