rill icon indicating copy to clipboard operation
rill copied to clipboard

Dashboard: an `include` access policy breaks the dashboard

Open ericpgreen2 opened this issue 1 year ago • 0 comments

The following access policy breaks the dashboard.

security:
  access: "{{ .user.admin }} OR '{{ .user.domain }}' == 'rilldata.com'"
  include:
    - if: "{{ .user.admin }}"
      names: 
        - total_records
        - publisher

In Rill Developer, use the "View As" functionality to select an admin, then see the following errors in the browser console:

image

ericpgreen2 avatar Jan 11 '24 20:01 ericpgreen2