fix(engine): by default, dump only databases to which user have access
Compare changes
@@ -117,7 +117,7 @@ type dumper interface {
@@ -379,7 +379,7 @@ func (d *DumpJob) getDBList(ctx context.Context) (map[string]DumpDefinition, err
By default, dump all databases to which user have access in case of an empty databases section while running logicalDump
If DLE admin declares a specific list of DBs, then the permissions check won't be applied – unaccessible DBs won't be skipped, so there will be an error at dump runtime. The change affects only "default" path, when the list of DBs is not specified / is empty.