Is there a way to prevent newly created data sources from being added to the ‘default’ group?

Not that I’m aware of. Why would you do this?

We have to manage what data connections different users can access. So we have created groups, and assigned users / connections to the appropriate groups.

But of course all new users and all new connections go to the ‘default’ group, so we have to remember to remove any new connections from ‘default’ group

a simple PR is created

Not sure whether or how long it will be accept though. If you are self hosted, please patch yourself first

+1

Per the docs:

The idea is to leverage your database’s security model and hence create a user with access to the tables/columns you want to give access to. Create a data source that’s using this user and then associate it with a group of users who need this level of access.

Currently, new users and new data sources all get added to the Default group, so we have to be vigilant about removing “sensitive” data sources from Default when they are created. Would prefer that new data sources only get added to the Admin group (or no group).

+1

Any news on if this will be integrated to Redash ? PR was opened in 2020 and closed in 2022. It is a one liner really easy to implement that will benefit a lot the community