Hi all, I’m Editor role on Datahub tool. But, some...
# all-things-deployment
f
Hi all, I’m Editor role on Datahub tool. But, sometimes I got the under error when I edit description of a column. I’m using v0.10.3. Do you have any suggestion for me to investigate the issue, here?
r
Hi- could you confirm what permission you have with editor role? You should have
Edit descriptions
policy for the specific data entity.
f
Yeah, the user is assigned Editor role. It is a role has available in Datahub (same as Admin and Reader). I can see on document about description for this role:
Can read and edit all metadata. Cannot take administrative actions.
And this issue occasionally happen. Most of the time I have permission to change the description of the column, a few times I got this error.
Do you know any bug/issue related to this issue on v0.10.3 that is fixed on latest version?
r
That is very strange - does it occur to a specific data source? Could you confirm that there’s no policy that override this?
f
Most of time, It’s happen on BigQuery Datasource. I only use default role of Datahub on my deployment.
d
Not that I know of, I’ll forward to this to our product team just in case. (cc. @bulky-soccer-26729 tagging you FYI)
Hmm okay, just to check - are you able to edit description with admin role with the same entity?
f
Yeah, any suggestion for me. It can enable debug to help to investigate this issue.
Yes, I can. And I can edit description with other user who is assign Editor role.
I know, It’s pretty weird.
d
🤔 Okay, not really sure what’s happening here. we’ll get back to you shortly.
f
Thank @delightful-ram-75848 😆
o
Hi! Do you have Rest API Authorization enabled or any other non-default auth settings?
f
Hi @orange-night-91387, This is my config on chart for Auth. The rest of config, I only use default value of chart.
Copy code
# OIDC auth based on <https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react>
  oidcAuthentication:
    enabled: true
    provider: google
    clientId: <http://305580188801-8k63np6egb0tt4s39qkv3ir3c4u04f9g.apps.googleusercontent.com|305580188801-8k63np6egb0tt4s39qkv3ir3c4u04f9g.apps.googleusercontent.com>
    clientSecret: SECRET
    # only needed if you would like to store the client secret in secret
    # clientSecretRef:
    #   secretRef: <secret-ref>
    #   secretKey: <secret-key>
    # only needed if provider is `okta`
    # oktaDomain: <http://datahub.dwh.company.co|datahub.dwh.company.co>

    # only needed if provider is `azure`
    # azureTenantId: your-azure-tenant-id
    # if needed, it should set meaningful defaults from provider
    scope: "openid profile email"

    extraEnvs:
    - name: AUTH_JAAS_ENABLED
      value: "false"
    # # AUTH_OIDC
    # - name: AUTH_OIDC_ENABLED
    #   value: "true"
    # - name: AUTH_OIDC_CLIENT_ID
    #   value: "<http://305580188801-8k63np6egb0tt4s39qkv3ir3helmc4u04f9g.apps.googleusercontent.com|305580188801-8k63np6egb0tt4s39qkv3ir3helmc4u04f9g.apps.googleusercontent.com>"
    # - name: AUTH_OIDC_CLIENT_SECRET
    #   value: "SECRET"
    # - name: AUTH_OIDC_DISCOVERY_URI
    #   value: "<https://accounts.google.com/.well-known/openid-configuration>"
    # - name: AUTH_OIDC_BASE_URL
    #   value: "<https://datahub.dwh.company.co>"
    # - name: AUTH_OIDC_SCOPE
    #   value: "openid profile email"
    # - name: AUTH_OIDC_USER_NAME_CLAIM
    #   value: "email"
    # - name: AUTH_OIDC_USER_NAME_CLAIM_REGEX
    #   value: "([^@]+)"
About Rest API Authorization, it’s disabled.
Hi @orange-night-91387, If you have more information, please tell me.