> Jona Draaijer via pve-devel <pve-devel@lists.proxmox.com> hat am 01.04.2024 > 22:00 CEST geschrieben: > Hi, > > As per the title, that endpoint has an additionalProperties value that is > not a bool, but rather an object definition. (It's defined in > pve-access-control/src/PVE/API2/User.pm). > > As far as I can tell, all other 'additionalProperties' are bools. Does > anyone know why this specific one is different, or if this difference is > intentional?
I think this was just an accident. > From the looks of it it seems like it's used as a "we need this standard > option, but also have to make it optional". I am still quite new to perl, > so I don't know if there is a way to do what was intended. My guess is the intent was to have tokens => get_standard_option('token-info', { optional => 1 }), instead, @Wolfgang? _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel