You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "zfeng0531 (via GitHub)" <gi...@apache.org> on 2023/10/30 09:53:02 UTC

[I] [Bug] 升级到2.0之后,对视图授予select权限还需要获取对应构建底表的select权限 [doris]

zfeng0531 opened a new issue, #26115:
URL: https://github.com/apache/doris/issues/26115

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   doris-2.0.0-rc04-96bb9a7
   
   ### What's Wrong?
   
   升级后部分账号只有视图权限的账号查询报错,经过验证后,需要开通对应视图底表的权限才能正确访问视图
   ![image](https://github.com/apache/doris/assets/30383613/def2be23-c5c8-446b-a9bf-3bd822942b2f)
   
   SQL 错误 [1105] [HY000]: errCode = 2, detailMessage = Permission denied: user ['default_cluster:testzg1030'@'%'] does not have privilege for [priv predicate: OR, Admin_priv Select_priv ] command on [internal].[default_cluster:demo].[api_mdsj]
   
   ### What You Expected?
   
   对账号授权视图查看 不需再开通底表的查询权限
   
   ### How to Reproduce?
   
   构建一个表a和对应的视图v_a, 只授权视图v_a的查看权限,执行查询语句,报错
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] 升级到2.0之后,对视图授予select权限还需要获取对应构建底表的select权限 [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #26115:
URL: https://github.com/apache/doris/issues/26115#issuecomment-3287231696

   We're closing this issue because it hasn't been updated in a while.
   If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Bug] 升级到2.0之后,对视图授予select权限还需要获取对应构建底表的select权限 [doris]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #26115: [Bug] 升级到2.0之后,对视图授予select权限还需要获取对应构建底表的select权限
URL: https://github.com/apache/doris/issues/26115


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org