We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1d018 commit 3851b0fCopy full SHA for 3851b0f
src/users/filters.rs
@@ -185,6 +185,10 @@ impl Filters {
185
continue;
186
};
187
let filter_type = &f.query.filter_type;
188
+
189
+ // if filter type is one of SQL or filter
190
+ // then check if the user has access to the dataset based on the query string
191
+ // if filter type is search then check if the user has access to the dataset based on the dataset name
192
if *filter_type == FilterType::SQL || *filter_type == FilterType::Filter {
193
if (user_auth_for_query(key, query).await).is_ok() {
194
filters.push(f.clone())
0 commit comments