You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/05/23 03:57:08 UTC
[GitHub] [incubator-linkis] Alexkun opened a new issue, #2156: [Bug] [datasource] in linkis-datasource module, method /api/rest_j/v1/datasource/columns need to check user's permission
Alexkun opened a new issue, #2156:
URL: https://github.com/apache/incubator-linkis/issues/2156
### Search before asking
- [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
### Linkis Component
linkis-public-enhancements
### What happened + What you expected to happen
In method /api/rest_j/v1/datasource/columns , anyone can visit a table's columns that he has no permission.
### Relevent platform
Centos7
### Reproduction script
Visit http://172.21.8.16:8088/api/rest_j/v1/datasource/columns?database=tpc_ds&table=customer with a login cookie from the browser in postman, replace the database and table to yours.
### Anything else
_No response_
### Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
--
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: notifications-unsubscribe@linkis.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org
[GitHub] [incubator-linkis] liuyou2 closed issue #2156: [Bug] [datasource] in linkis-datasource module, method /api/rest_j/v1/datasource/columns need to check user's permission
Posted by GitBox <gi...@apache.org>.
liuyou2 closed issue #2156: [Bug] [datasource] in linkis-datasource module, method /api/rest_j/v1/datasource/columns need to check user's permission
URL: https://github.com/apache/incubator-linkis/issues/2156
--
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: notifications-unsubscribe@linkis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org