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

feat(controller): add system role and project roles in the response of getting current user #1271

Merged

Conversation

dreamlandliu
Copy link
Contributor

@dreamlandliu dreamlandliu commented Sep 21, 2022

…user.

Description

Modules

  • UI
  • Controller
  • Agent
  • Client
  • Python-SDK
  • Others

Checklist

  • run code format and lint check
  • add unit test
  • add necessary doc

@codecov
Copy link

codecov bot commented Sep 21, 2022

Codecov Report

Merging #1271 (8589cd1) into main (c37fadd) will decrease coverage by 12.97%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##               main    #1271       +/-   ##
=============================================
- Coverage     73.84%   60.87%   -12.98%     
- Complexity     1210     1212        +2     
=============================================
  Files           287      225       -62     
  Lines         13378     6361     -7017     
  Branches        651      651               
=============================================
- Hits           9879     3872     -6007     
+ Misses         3277     2267     -1010     
  Partials        222      222               
Flag Coverage Δ
controller 60.87% <100.00%> (+0.07%) ⬆️
standalone ?
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...a/ai/starwhale/mlops/api/protocol/user/UserVo.java 100.00% <100.00%> (ø)
...va/ai/starwhale/mlops/domain/user/UserService.java 86.99% <100.00%> (+1.40%) ⬆️
client/starwhale/utils/fs.py
client/starwhale/core/eval/executor.py
client/starwhale/base/mixin.py
client/starwhale/base/cloud.py
client/starwhale/core/eval/model.py
client/starwhale/api/_impl/model.py
client/starwhale/core/runtime/model.py
client/starwhale/core/runtime/process.py
... and 54 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@goldenxinxing goldenxinxing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@goldenxinxing goldenxinxing merged commit f5c50c9 into star-whale:main Sep 21, 2022
@dreamlandliu dreamlandliu deleted the feat/current_user_with_role branch January 6, 2023 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants