Skip to content

Cannot authorize view in same project but different dataset #21

Description

@pathatcher

Name: bigquery-view-analyzer
Version: 20.4.1

Good afternoon. We cannot seem to authorize views that reside in the same project and different datasets. Our users have access to a dataset containing views but do not have direct access to the dataset with the tables. If the dataset is in a different project we are able to authorize without issue.
Thank you

examples

[doesn't work]
bqva tree --view "mtech-daas-transact-pdata-uat:rfnd_sls_v.ebr_ros_arsfmstr_xxpezt_nc_xros115_extract_v"

displays

◉ = Project ◉ = Table
◉ = Dataset ◉ = View

mtech-daas-transact-pdata-uat:rfnd_sls_v.ebr_ros_arsfmstr_xxpezt_nc_xros115_extract_v

[works]

bqva tree --view "mtech-daas-appdata:cubpmvp.date_dim_v"
◉ = Project ◉ = Table
◉ = Dataset ◉ = View

mtech-daas-appdata:cubpmvp.date_dim_v
└── mtech-daas-appdata:ewpmvp.date_dim_v
└── mtech-daas-reference-pdata:trst_ref.DATE_DIM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions