-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: support tenant #363
feat: support tenant #363
Conversation
* feat: add project type and apis Signed-off-by: lixd <xueduan.li@gmail.com> * feat: add project controller Signed-off-by: lixd <xueduan.li@gmail.com> * fix: add project.status and add、remove node api Signed-off-by: lixd <xueduan.li@gmail.com> Signed-off-by: lixd <xueduan.li@gmail.com>
* feat: project user and role binding under project Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> * add update rolebinding api and role operation api Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> * third commmit Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> * modify request path and return data type Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> * add project check and the way to set label and annotation Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> * modify response code Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> * modify the way to handle API group Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> * modify request body data Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> * modify response code Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> * add delete role check Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net> Signed-off-by: xu.jingwen <xu.jingwen@99cloud.net>
* feat: update authorizer to support project scope Signed-off-by: lixd <xueduan.li@gmail.com> * fix: update roles name Signed-off-by: lixd <xueduan.li@gmail.com> Signed-off-by: lixd <xueduan.li@gmail.com>
move join node to project api to global scope update permission,add some api Signed-off-by: lixd <xueduan.li@gmail.com>
* fix: add global resource view api Signed-off-by: lixd <xueduan.li@gmail.com> * fix: update role module and api format Signed-off-by: lixd <xueduan.li@gmail.com> * fix: update role Signed-off-by: lixd <xueduan.li@gmail.com> * fix: role rename Signed-off-by: lixd <xueduan.li@gmail.com> Signed-off-by: lixd <xueduan.li@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #363 +/- ##
==========================================
- Coverage 12.86% 12.33% -0.54%
==========================================
Files 102 102
Lines 15738 16733 +995
==========================================
+ Hits 2025 2064 +39
- Misses 13471 14422 +951
- Partials 242 247 +5
|
28586b8
to
0af0b63
Compare
/cc @x893675 |
Signed-off-by: lixd <xueduan.li@gmail.com>
/lgtm |
LGTM label has been added. Git tree hash: b8ca7e4d5fd1f1441d951af869d3f7c1ad676882
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lixd, x893675 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
this is a huge commit, include #303、#306、#326、#341、#354, and #341 are manual merged.
Which issue(s) this PR fixes:
Fixes #
Special notes for reviewers:
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: