[pmg-devel] applied-series: [PATCH pmg-api 0/3] rename realms.cfg to realms.conf
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Feb 26 21:17:52 CET 2025
Am 26.02.25 um 18:37 schrieb Stoiko Ivanov:
> this series is based on Markus' v8 for OIDC:
> https://lore.proxmox.com/pmg-devel/20250226140740.55612-1-m.frank@proxmox.com/T/#t
>
> it addresses the naming of realms.cfg vs. realms.conf
> additionally I moved the part of the schema definitions to Auth::Plugin,
> in order to not have a cyclical include.
>
> the third patch adds realms conf to the cluster sync.
> (backup already contains everything in /etc/pmg anyways - so no special
> consideration needed).
>
> tested by installing this on 2 nodes in the cluster, and logging in
> via keycloak on the non-master node)
>
> Stoiko Ivanov (3):
> auth: plugin: move schema definitions from Utils to Auth::Plugin
> access control: rename realms.cfg to realms.conf
> cluster: add realms.conf to config-sync
>
> src/PMG/API2/AuthRealm.pm | 16 ++++++++--------
> src/PMG/API2/OIDC.pm | 5 +++--
> src/PMG/AccessControl.pm | 4 ++--
> src/PMG/Auth/Plugin.pm | 30 ++++++++++++++++++++++++------
> src/PMG/Cluster.pm | 1 +
> src/PMG/Utils.pm | 21 ++-------------------
> 6 files changed, 40 insertions(+), 37 deletions(-)
>
applied, thanks!
More information about the pmg-devel
mailing list