From: "Shannon Sterz" <s.sterz@proxmox.com>
To: "Shannon Sterz" <s.sterz@proxmox.com>, <pdm-devel@lists.proxmox.com>
Subject: [pdm-devel] Superseded: Re: [RFC datacenter-manager/proxmox/yew-comp 0/8] token support for pdm
Date: Fri, 03 Oct 2025 16:22:10 +0200 [thread overview]
Message-ID: <DD8R5WAPXPDR.32ZM4FQC06U1P@proxmox.com> (raw)
In-Reply-To: <20250924145137.407070-1-s.sterz@proxmox.com>
Superseded-by: https://lore.proxmox.com/pdm-devel/20250924145137.407070-1-s.sterz@proxmox.com/T/#t
On Wed Sep 24, 2025 at 4:51 PM CEST, Shannon Sterz wrote:
> this series adds a ui for adding, editing, removing and regenarating api
> tokens to proxmox-yew-comp and integrates it into
> proxmox-datacenter-manager. it also allows for adding acl entries for
> them in the permissions panel.
>
> sending this as an rfc as this series also factors out the token related
> api endpoints into proxmox-access-control and i would like some feedback
> on the approach there. i didn't want to add even more methods to the
> AccessControlConfig here in order to not clutter it too much.
>
> proxmox:
>
> Shannon Sterz (3):
> access-control: refactor api module to be more hirachical
> access-control: move `ApiTokenSecret` to types module
> access-control: add api endpoints for handling tokens
>
> proxmox-access-control/Cargo.toml | 2 +
> .../src/{api.rs => api/acl.rs} | 0
> proxmox-access-control/src/api/mod.rs | 8 +
> proxmox-access-control/src/api/tokens.rs | 306 ++++++++++++++++++
> proxmox-access-control/src/token_shadow.rs | 9 -
> proxmox-access-control/src/types.rs | 29 +-
> 6 files changed, 344 insertions(+), 10 deletions(-)
> rename proxmox-access-control/src/{api.rs => api/acl.rs} (100%)
> create mode 100644 proxmox-access-control/src/api/mod.rs
> create mode 100644 proxmox-access-control/src/api/tokens.rs
>
>
> proxmox-yew-comp:
>
> Shannon Sterz (2):
> utils/user_panel: factor out epoch_to_input_value helper
> token_panel: implement a token panel
>
> src/lib.rs | 3 +
> src/token_panel.rs | 569 +++++++++++++++++++++++++++++++++++++++++++++
> src/user_panel.rs | 21 +-
> src/utils.rs | 19 ++
> 4 files changed, 592 insertions(+), 20 deletions(-)
> create mode 100644 src/token_panel.rs
>
>
> proxmox-datacenter-manager:
>
> Shannon Sterz (3):
> ui: add a token panel and a token acl edit menu in the permissions
> panel
> server: access: use token endpoints from proxmox-access-control
> server: clean up acl tree entries and api tokens when deleting users
>
> server/src/api/access/users.rs | 388 ++++++---------------------------
> ui/src/configuration/mod.rs | 33 ++-
> 2 files changed, 95 insertions(+), 326 deletions(-)
>
>
> Summary over all repositories:
> 12 files changed, 1031 insertions(+), 356 deletions(-)
>
> --
> Generated by git-murpp 0.8.1
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
prev parent reply other threads:[~2025-10-03 14:22 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-24 14:51 [pdm-devel] " Shannon Sterz
2025-09-24 14:51 ` [pdm-devel] [PATCH proxmox 1/3] access-control: refactor api module to be more hirachical Shannon Sterz
2025-09-26 8:26 ` Dominik Csapak
2025-10-01 15:29 ` Shannon Sterz
2025-09-24 14:51 ` [pdm-devel] [PATCH proxmox 2/3] access-control: move `ApiTokenSecret` to types module Shannon Sterz
2025-09-26 9:14 ` Fabian Grünbichler
2025-09-24 14:51 ` [pdm-devel] [PATCH proxmox 3/3] access-control: add api endpoints for handling tokens Shannon Sterz
2025-09-26 9:14 ` Fabian Grünbichler
2025-10-01 15:29 ` Shannon Sterz
2025-09-24 14:51 ` [pdm-devel] [PATCH yew-comp 1/2] utils/user_panel: factor out epoch_to_input_value helper Shannon Sterz
2025-09-27 16:57 ` [pdm-devel] applied: " Thomas Lamprecht
2025-09-27 16:57 ` [yew-devel] applied: [pdm-devel] " Thomas Lamprecht
2025-09-24 14:51 ` [pdm-devel] [PATCH yew-comp 2/2] token_panel: implement a token panel Shannon Sterz
2025-09-26 8:50 ` Dominik Csapak
2025-09-27 17:07 ` Thomas Lamprecht
2025-10-02 15:30 ` Shannon Sterz
2025-10-02 15:39 ` Thomas Lamprecht
2025-10-02 15:19 ` Shannon Sterz
2025-09-27 16:57 ` [pdm-devel] applied: " Thomas Lamprecht
2025-09-27 16:57 ` [yew-devel] applied: [pdm-devel] " Thomas Lamprecht
2025-09-24 14:51 ` [pdm-devel] [PATCH datacenter-manager 1/3] ui: add a token panel and a token acl edit menu in the permissions panel Shannon Sterz
2025-09-24 14:51 ` [pdm-devel] [PATCH datacenter-manager 2/3] server: access: use token endpoints from proxmox-access-control Shannon Sterz
2025-09-24 14:51 ` [pdm-devel] [PATCH datacenter-manager 3/3] server: clean up acl tree entries and api tokens when deleting users Shannon Sterz
2025-09-26 9:18 ` Fabian Grünbichler
2025-10-01 15:29 ` Shannon Sterz
2025-10-02 10:19 ` Fabian Grünbichler
2025-10-03 14:22 ` Shannon Sterz [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=DD8R5WAPXPDR.32ZM4FQC06U1P@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=pdm-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.