-
Notifications
You must be signed in to change notification settings - Fork 997
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
[Proposal] Support team feature #1629
Comments
Hi @wolfboys , I have sorted out the team feature. Please help take a look in your free time, thanks a lot. If it's ok, I will start develop the backend code, and try to develop front end. I will let you know, if I need your help. |
Hi @1996fanrui, Thanks for you feedback! This is a nice proposal. |
Hi @lvshaokang , thanks for your nice suggestion, I have updated the ER model, PTAL in your free time, thanks a lot~ |
It looks good, The team here is actually the concept of workspace. There are a few issues that need to be clarified
|
@wolfboys , thank you for reviewing the solution. I have updated the doc for these questions.
Add the team_id to these tables:
|
done |
Code of Conduct
Task list
Search before asking
Describe the proposal
Background:
Currently, StreamPark doesn't support team, so all projects and applications will be showed in the same pages. For some companies, there are too many departments or teams. For ease of use and security, they shouldn't view the applicaton list of other teams.
Solution
Support the team feature, the team as the workspace in the WebUI.
User needs to choose a team first.
The relationship between app, project and team
Database table:
t_flink_app
andt_flink_project
, they're old tables, we need to add the new filed team_id. These 2 tables need to add index for team_id, because WebUI usually query app or project list by teamId.Team management
Create/Modify/Delete/View team information.
Database table:
t_team
, it's a new table. We need to create a default team.Member management
Add a Member management page, and the features are as follows:
Database table:
t_user_role
, it's an old table, we need to add the new filed: team_id.Note:
Role management
We just set whether new user is system admin during creating a new user. The other roles will be management in the team management page.
Database table:
t_user
, it's an old table, we need to add the new filed: user_type.Database table:
t_role
, it's an old table, we need to add a new role: team_admin. It will be the super admin inside team(manage team members, operate all apps and projects).Compatibility mechanism:
ER model
The fields highlighted in the diagram are relational fields.
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: