bypass_suggest_restrictions

LookML
Version

On this Page
Docs Menu

Go to Field Parameter List

Use caution when using this parameter, as it can reveal sensitive data if used incorrectly.

Definition

Typically, whenever sql_always_where or access_filter are used, filter suggestions are disabled for that explore. This prevents users from seeing a filter suggestion that does not apply to them.

For example, you might be using access_filter to limit users to their company’s data. If one of those users added a Project Name filter, you might not want them to see the names of projects from other companies.

If you are certain that there are no possible values in a particular dimension or filter field that would reveal sensitive information, you can re-enable filter suggestions like this:

- dimension: project_name sql: ${TABLE}.project bypass_suggest_restrictions: true

If there are values in a field that would reveal sensitive information, the full_suggestions parameter can enable you to get properly filtered suggestions. However, bypass_suggest_restrictions is more performant, so use it when possible.

Still have questions?
Go to Discourse - or - Email Support
Top