Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature]The front-end database supports only looking at the tables created by yourself #720

Open
1 of 2 tasks
yuankang134 opened this issue May 26, 2022 · 0 comments
Open
1 of 2 tasks
Labels
enhancement New feature or request

Comments

@yuankang134
Copy link
Collaborator

yuankang134 commented May 26, 2022

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Problem Description

1、demand background
(需求背景)

Users want the database page to provide a filter function to filter out the tables created by the user for quick viewing.
(用户希望数据库页面提供筛选功能,筛选出用户自己创建的表,方便快速查看。)

2、Statement of needs
(需求说明)

It is used to add a new button at the top of the database page: "Only view the tables created by yourself". When the user selects this button and opens the database again, he can only view the tables created by himself in the library.
(用在数据库页面上方新增一个按钮:“只看自己创建的表”,当用户选中该按钮时,再次打开数据库,便只能查看到库中自己创建的表。)
image (22)
image (23)
3、Demand realization
(需求实现)

The /datasource/tables interface will return the createBy field of each table, and the front-end can filter the tables created by the current user based on this field, and then display them on the page.
(/datasource/tables接口会返回每个表的createBy字段,前端可根据该字段筛选当前用户创建的表,进而在页面展示。)
image (24)

Description

No response

Use case

No response

solutions

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@yuankang134 yuankang134 added the enhancement New feature or request label May 26, 2022
@yuankang134 yuankang134 changed the title 前端数据库支持只看自己创建的表 [feature]The front-end database supports only looking at the tables created by yourself May 27, 2022
@yuankang134 yuankang134 added this to In Process in DataSphereStudio1.1.0 Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
DataSphereStudio1.1.0
  
In Process
Development

No branches or pull requests

1 participant