public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH-SERIES pve-access-control/pve-manager] Add firewall caps
@ 2023-03-27 10:18 Alexandre Derumier
  2023-03-27 10:18 ` [pve-devel] [PATCH pve-access-control 1/1] rpcenv: compute_api_permission : add default root dc.Sys.Modify Alexandre Derumier
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexandre Derumier @ 2023-03-27 10:18 UTC (permalink / raw)
  To: pve-devel

This patch series add missing caps on firewall buttons in differents
firewall grid and panels, and also add correct audit permissions on
vm|ct firewall menus.

For datacenter, it's using Sys.Modify, but currently the
root user don't have this guicap by default on datacenter.
The pve-access-control patch add this permission.
(Please double check this patch, I'm not sure to understand this code
correctly, but my tests don't seem to change default perm of other
user than root)


pve-access-control:

Alexandre Derumier (1):
  rpcenv: compute_api_permission : add default root dc.Sys.Modify

 src/PVE/RPCEnvironment.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

pve-manager:

Alexandre Derumier (2):
  ui: qemu|lxc : fix firewall menu caps
  ui: firewall panel/grids : add caps on buttons

 www/manager6/dc/SecurityGroups.js    |  7 +++++++
 www/manager6/grid/FirewallAliases.js |  6 ++++++
 www/manager6/grid/FirewallOptions.js |  6 +++++-
 www/manager6/grid/FirewallRules.js   | 17 ++++++++++++-----
 www/manager6/lxc/Config.js           |  7 ++++++-
 www/manager6/panel/IPSet.js          | 18 +++++++++++++++++-
 www/manager6/qemu/Config.js          |  9 +++++++--
 7 files changed, 60 insertions(+), 10 deletions(-)

-- 
2.30.2




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-07 11:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 10:18 [pve-devel] [PATCH-SERIES pve-access-control/pve-manager] Add firewall caps Alexandre Derumier
2023-03-27 10:18 ` [pve-devel] [PATCH pve-access-control 1/1] rpcenv: compute_api_permission : add default root dc.Sys.Modify Alexandre Derumier
2023-06-07 10:04   ` [pve-devel] applied: " Thomas Lamprecht
2023-03-27 10:18 ` [pve-devel] [PATCH pve-manager 1/2] ui: qemu|lxc : fix firewall menu caps Alexandre Derumier
2023-06-07 11:24   ` [pve-devel] applied: " Dominik Csapak
2023-03-27 10:18 ` [pve-devel] [PATCH pve-manager 2/2] ui: firewall panel/grids : add caps on buttons Alexandre Derumier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal