cloudbeaver icon indicating copy to clipboard operation
cloudbeaver copied to clipboard

Can empty x-role ignored if it is empty when using header authentication?

Open abelmferreira opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. We configured header authentication using just x-user header for login, and it is working correctly. But the roles manually configured via admin interface are removed if x-role is empty or not sended by the proxy.

Describe the solution you'd like We don't have role controls in proxy side, it will be great if we can manually create a new user and set his roles, and use just x-user for authentication, keeping roles configurations unchanged.

Maybe just ignore x-role header if is empty or not exist, or maybe a enable/disable swtich for keep roles sended from proxy or ignore it.

abelmferreira avatar Feb 12 '24 18:02 abelmferreira

Hi @abelmferreira! We will fix it in one of the nearest releases. Thank you for your report!

EvgeniaBzzz avatar Feb 13 '24 10:02 EvgeniaBzzz

Hello, @abelmferreira ! We have fixed this problem Please take a look at the new version of CloudBeaver 24.0.0. Thank you for your interest in CloudBeaver!

dariamarutkina avatar Mar 04 '24 15:03 dariamarutkina

Worked perfectly! Thanks

abelmferreira avatar Mar 06 '24 02:03 abelmferreira