]> git.proxmox.com Git - pve-manager.git/commitdiff
d/control: bump versioned dependency for libpve-access-control
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Feb 2024 14:53:49 +0000 (15:53 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Feb 2024 14:53:51 +0000 (15:53 +0100)
to ensure the newly checked Sys.AccessNetwork privilege is available.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/control
www/manager6/panel/IPSet.js

index 9339acb385b46492d2524a0ea0ca15b2c743c235..91a0c7f1dd8b2773ccb311572bbf787e06aec6f3 100644 (file)
@@ -57,7 +57,7 @@ Depends: apt (>= 1.5~),
          libproxmox-acme-perl,
          libproxmox-acme-plugins,
          libproxmox-rs-perl (>= 0.2.0),
-         libpve-access-control (>= 8.0.7),
+         libpve-access-control (>= 8.1.2),
          libpve-cluster-api-perl (>= 7.0-5),
          libpve-cluster-perl (>= 7.2-3),
          libpve-common-perl (>= 7.2-7),
index 369ca68d2c169b62d0de94fff2cc9ee5ae27c036..814b52ae44d18e80776da687aa9e9734c17147c5 100644 (file)
@@ -146,13 +146,14 @@ Ext.define('PVE.IPSetList', {
                {
                    header: 'IPSet',
                    dataIndex: 'name',
-                   width: 100,
+                   minWidth: 150,
+                   flex: 1,
                },
                {
                    header: gettext('Comment'),
                    dataIndex: 'comment',
                    renderer: Ext.String.htmlEncode,
-                   flex: 1,
+                   flex: 4,
                },
            ],
            listeners: {
@@ -389,11 +390,15 @@ Ext.define('PVE.IPSetGrid', {
            columns: [
                {
                    xtype: 'rownumberer',
+                   // cannot use width on instantiation as rownumberer hard-wires that in the
+                   // constructor to avoid being overridden by applyDefaults
+                   minWidth: 40,
                },
                {
                    header: gettext('IP/CIDR'),
                    dataIndex: 'cidr',
-                   width: 150,
+                   minWidth: 150,
+                   flex: 1,
                    renderer: function(value, metaData, record) {
                        value = render_errors(value, metaData, record);
                        if (record.data.nomatch) {
@@ -405,7 +410,7 @@ Ext.define('PVE.IPSetGrid', {
                {
                    header: gettext('Comment'),
                    dataIndex: 'comment',
-                   flex: 1,
+                   flex: 3,
                    renderer: function(value) {
                        return Ext.util.Format.htmlEncode(value);
                    },