[pve-devel] applied: [PATCH access-control 1/1] api: user: add realmtype to user list

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jul 2 13:48:40 CEST 2021

On 01.07.21 14:25, Dominik Csapak wrote:
> this makes it much easier to determine if a user can e.g.
> change a password or tfa, based on realm
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/PVE/API2/User.pm | 15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)

applied, thanks!

I renamed the property to kebab-style though, so 'realm-type'.

Also switched over to directly using the (already public) realm regex to
parse out the realm, as the call to verify_user here seemed a bit overkill
to me - holler if anything is off now.

More information about the pve-devel mailing list