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 cbf3f34 commit e51f791Copy full SHA for e51f791
src/users/filters.rs
@@ -189,9 +189,8 @@ impl Filters {
189
};
190
let filter_type = &f.query.filter_type;
191
192
- // if filter type is one of SQL or filter
193
- // then check if the user has access to the dataset based on the query string
194
- // if filter type is search then check if the user has access to the dataset based on the dataset name
+ // if filter type is SQL, check if the user has access to the dataset based on the query string
+ // if filter type is search or filter, check if the user has access to the dataset based on the dataset name
195
if *filter_type == FilterType::SQL {
196
if (user_auth_for_query(key, query).await).is_ok() {
197
filters.push(f.clone())
0 commit comments