apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.3k stars 1.17k forks source link

[Feature][DataSource] linkis-datasource user permission control #4717

Open shixiutao opened 1 year ago

shixiutao commented 1 year ago

Search before asking

Problem Description

Ordinary users with viewing permissions who want to view the component information involved in the data source (such as data integration) cannot view the editing content, because they do not have the data source view permission

Description

In the same workspace, data sources cannot be shared and used between different ordinary users, and the existing implementation of linkis is only viewed and used by data source creators and superusers (configured in Linkis wds.linkis.server.dsm.auth.admin),

Use case

No response

Solutions

Idea 1:We can create a table, such as the name linkis_ps_dm_datasource_user, which can put the user information that the data source can operate, the data source creator can add and delete the user users of the data source, and the permissions can be tentatively set to view 4, edit 5, delete permissions 7. The creator can then use the data source management page to authorize users (for example, add an authorization button to select and authorize existing platform users) image

Idea 2:Directly release the data viewing permission, all users of the data source in the same workspace can view it, but only the creator can edit, modify, and delete.

Anything else

No response

Are you willing to submit a PR?

github-actions[bot] commented 1 year ago

:blush: Welcome to the Apache Linkis community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive