You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "yongjinhou (via GitHub)" <gi...@apache.org> on 2023/06/01 09:14:27 UTC
[GitHub] [doris] yongjinhou opened a new issue, #20328: [Enhancement](tvf) tvf supports authentication
yongjinhou opened a new issue, #20328:
URL: https://github.com/apache/doris/issues/20328
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
### Description
Take backends tvf for example.
For root user:
MySQL [(none)]> select BackendId from backends();
+-----------+
| BackendId |
+-----------+
| 10003 |
+-----------+
For user without Node privilege and Admin privilege:
MySQL [(none)]> select BackendId from backends();
+-----------+
| BackendId |
+-----------+
| 10003 |
+-----------+
We expect to authenticate backends tvf like show backends for user without Node privilege and Admin privilege.
MySQL [(none)]> show backends;
ERROR 1227 (42000): errCode = 2, detailMessage = Access denied; you need (at least one of) the ADMIN/OPERATOR privilege(s) for this operation
### Solution
Add authentication for tvf and some show operations.
### Are you willing to submit PR?
- [X] 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
[GitHub] [doris] morningman closed issue #20328: [Enhancement](tvf) tvf supports authentication
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #20328: [Enhancement](tvf) tvf supports authentication
URL: https://github.com/apache/doris/issues/20328
--
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