[pve-devel] [PATCH v3 access-control] add ui capabilities endpoint
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Sep 10 10:28:20 CEST 2020
On 10.09.20 10:23, Fabian Grünbichler wrote:
> On September 10, 2020 10:19 am, Thomas Lamprecht wrote:
>> On 10.09.20 10:00, Fabian Grünbichler wrote:
>>> TL;DR: iff we really need this, then I'd put it in a separate API call.
>> We could also just do the "cap heuristic calculation" in the frontend, using
>> the full permissions, and fill the Cap object with it.
>> This avoids a new api call or new multiplexer switch for an existing one but
>> does not needs to restructure the whole UI cap control, yet.
>
> I think I'd prefer this, should be straight-forward to port from Perl to
> JS.
>
A great, a volunteer to do so ;-)
More information about the pve-devel
mailing list