[GH-ISSUE #915] provided-connections.json with access to anonymous users #223

Closed
opened 2026-03-07 20:46:24 +03:00 by kerem · 10 comments
Owner

Originally created by @guitcastro on GitHub (Jun 21, 2022).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/915

Is your feature request related to a problem? Please describe.
I am trying to configure cloudbeaver with a provided connection, for anonymous users. However it's not possible to automated this. I have to manual log as admin and give access to "USERS" role.

Describe the solution you'd like
For the context, I work using infra as code and I am trying to use codebeaver to give teams readonly access to databases. We already deployed the cloudbeaver under an ouath2 proxy, thats why anonymous login is being used.

Originally created by @guitcastro on GitHub (Jun 21, 2022). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/915 **Is your feature request related to a problem? Please describe.** I am trying to configure cloudbeaver with a provided connection, for anonymous users. However it's not possible to automated this. I have to manual log as admin and give access to "USERS" role. **Describe the solution you'd like** For the context, I work using infra as code and I am trying to use codebeaver to give teams readonly access to databases. We already deployed the cloudbeaver under an ouath2 proxy, thats why anonymous login is being used.
kerem 2026-03-07 20:46:24 +03:00
Author
Owner

@kseniiaguzeeva commented on GitHub (Jul 13, 2022):

Thank you for your intereset in CloudBeaver.
We are going to add the permission configuration for provided connections via the configuration file.

<!-- gh-comment-id:1183172733 --> @kseniiaguzeeva commented on GitHub (Jul 13, 2022): Thank you for your intereset in CloudBeaver. We are going to add the permission configuration for provided connections via the configuration file.
Author
Owner

@marcellodesales commented on GitHub (Apr 24, 2023):

Any plans on this?

<!-- gh-comment-id:1520596473 --> @marcellodesales commented on GitHub (Apr 24, 2023): Any plans on this?
Author
Owner

@TatyanaSsau commented on GitHub (May 23, 2023):

@marcellodesales, sorry, for really long time to response!
It is not completely dropped, but this task is in the long-term plans for our team.

Thank you for your interest in CloudBeaver!

<!-- gh-comment-id:1559119824 --> @TatyanaSsau commented on GitHub (May 23, 2023): @marcellodesales, sorry, for really long time to response! It is not completely dropped, but this task is in the long-term plans for our team. Thank you for your interest in CloudBeaver!
Author
Owner

@GenLN commented on GitHub (Mar 14, 2024):

Hi any news on this?

<!-- gh-comment-id:1996742700 --> @GenLN commented on GitHub (Mar 14, 2024): Hi any news on this?
Author
Owner

@LonwoLonwo commented on GitHub (May 29, 2024):

Hello @guitcastro

Looks like you can do it now.

You need to configure these two files:

https://github.com/dbeaver/cloudbeaver/wiki/Pre%E2%80%90configured-permissions-for-connections
https://github.com/dbeaver/cloudbeaver/wiki/Connection-configuration#pre-configured-connections

And add them to your container.

Please let me know if it solves your request.

<!-- gh-comment-id:2137127261 --> @LonwoLonwo commented on GitHub (May 29, 2024): Hello @guitcastro Looks like you can do it now. You need to configure these two files: https://github.com/dbeaver/cloudbeaver/wiki/Pre%E2%80%90configured-permissions-for-connections https://github.com/dbeaver/cloudbeaver/wiki/Connection-configuration#pre-configured-connections And add them to your container. Please let me know if it solves your request.
Author
Owner

@guitcastro commented on GitHub (May 30, 2024):

Hi @LonwoLonwo , Thanks for the response!

Just a doubt:

["test_team", "test_user"] - list of users and teams who will have access for connection.

In my case where I want to allow anonymous, which string should I put in the array? anonymous?

<!-- gh-comment-id:2140851203 --> @guitcastro commented on GitHub (May 30, 2024): Hi @LonwoLonwo , Thanks for the response! Just a doubt: > ["test_team", "test_user"] - list of users and teams who will have access for connection. In my case where I want to allow anonymous, which string should I put in the array? `anonymous`?
Author
Owner

@LonwoLonwo commented on GitHub (Jun 3, 2024):

Like
anonymousUserTeam: "user"
From this doc https://github.com/dbeaver/cloudbeaver/wiki/Server-configuration

<!-- gh-comment-id:2145701140 --> @LonwoLonwo commented on GitHub (Jun 3, 2024): Like `anonymousUserTeam: "user"` From this doc https://github.com/dbeaver/cloudbeaver/wiki/Server-configuration
Author
Owner

@LonwoLonwo commented on GitHub (Jun 4, 2024):

Could I close this ticket? Is this case solved?

<!-- gh-comment-id:2147948439 --> @LonwoLonwo commented on GitHub (Jun 4, 2024): Could I close this ticket? Is this case solved?
Author
Owner

@guitcastro commented on GitHub (Jun 4, 2024):

@LonwoLonwo Yes, thank you!

<!-- gh-comment-id:2148177691 --> @guitcastro commented on GitHub (Jun 4, 2024): @LonwoLonwo Yes, thank you!
Author
Owner

@LonwoLonwo commented on GitHub (Jun 6, 2024):

Thanks for your answer, @guitcastro and the interest in our product 🤗

<!-- gh-comment-id:2152838637 --> @LonwoLonwo commented on GitHub (Jun 6, 2024): Thanks for your answer, @guitcastro and the interest in our product 🤗
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#223
No description provided.