From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
<pbs-devel@lists.proxmox.com>,
Gabriel Goller <g.goller@proxmox.com>
Subject: [pbs-devel] applied: [PATCH proxmox-backup] fix: api: permission using wrong pathname
Date: Fri, 31 May 2024 11:03:46 +0200 [thread overview]
Message-ID: <dedd3a3a-07ec-4e29-96d1-016de6e6dbb3@proxmox.com> (raw)
In-Reply-To: <20240529125459.148539-1-g.goller@proxmox.com>
On 29/05/2024 14:54, Gabriel Goller wrote:
> The read_interface endpoint uses the wrong path identifier. It has been
> renamed to 'iface' some time ago but hasn't been changed here.
>
> When a user has a permission on '/' with 'Admin', he wasn't able to
> show the config of a single interface, as the non-existent path didn't
> match.
>
> Reported-by: https://forum.proxmox.com/threads/permissons-not-working-for-network-settings.147899/
>
> Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
> ---
> src/api2/node/network.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
prev parent reply other threads:[~2024-05-31 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-29 12:54 [pbs-devel] " Gabriel Goller
2024-05-31 9:03 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dedd3a3a-07ec-4e29-96d1-016de6e6dbb3@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=g.goller@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox