Hi Dmitri
I don't think the annotations are actually used. +1 to remove it.
Regards
JB
On Fri, Jan 24, 2025 at 3:24 PM Dmitri Bourlatchkov wrote:
>
> Hi All,
>
> Currently the code generated for various REST API endpoints contains
> "@RolesAllowed" annotations.
>
> Do people find them critical?
https://github.com/apache/polaris/pull/875
On Fri, Jan 24, 2025 at 11:02 AM Dmitri Bourlatchkov
wrote:
> Thanks for the context, Mike! I'll open a PR to remove them.
>
> Cheers,
> Dmitri.
>
> On Fri, Jan 24, 2025 at 10:46 AM Michael Collado
> wrote:
>
>> They are leftover from a previous Authz
Thanks for the context, Mike! I'll open a PR to remove them.
Cheers,
Dmitri.
On Fri, Jan 24, 2025 at 10:46 AM Michael Collado
wrote:
> They are leftover from a previous Authz design. They don’t do anything
> anymore, so I don’t see a reason to keep them.
>
> Mike
>
> On Fri, Jan 24, 2025 at 6:5
They are leftover from a previous Authz design. They don’t do anything
anymore, so I don’t see a reason to keep them.
Mike
On Fri, Jan 24, 2025 at 6:57 AM Alex Dutra
wrote:
> Hi Dmitri,
>
> I think it would make sense to remove these annotations. While convenient,
> such annotations freeze the
Hi Dmitri,
I think it would make sense to remove these annotations. While convenient,
such annotations freeze the allowed roles at compile time, and imho this
won't be extensible enough for Polaris.
Thanks,
Alex
On Fri, Jan 24, 2025 at 3:25 PM Dmitri Bourlatchkov
wrote:
> Hi All,
>
> Currently
Hi All,
Currently the code generated for various REST API endpoints contains
"@RolesAllowed" annotations.
Do people find them critical?
>From my POV, it is preferable to delegate all authorization logic
to PolarisAuthorizer implementations and remove any framework-specific ways
to control access