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

List roles #2496

Merged
merged 5 commits into from
Jan 17, 2022
Merged

List roles #2496

merged 5 commits into from
Jan 17, 2022

Conversation

romasku
Copy link
Contributor

@romasku romasku commented Dec 23, 2021

@codecov
Copy link

codecov bot commented Dec 24, 2021

Codecov Report

Merging #2496 (ca0376d) into master (626eccb) will decrease coverage by 10.41%.
The diff coverage is 16.66%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #2496       +/-   ##
===========================================
- Coverage   85.33%   74.92%   -10.42%     
===========================================
  Files          71       66        -5     
  Lines       11828    11073      -755     
  Branches     2293     2146      -147     
===========================================
- Hits        10094     8296     -1798     
- Misses       1356     2474     +1118     
+ Partials      378      303       -75     
Impacted Files Coverage Δ
neuro-sdk/src/neuro_sdk/_users.py 69.16% <16.66%> (-22.07%) ⬇️
neuro-cli/src/neuro_cli/storage.py 32.02% <0.00%> (-48.04%) ⬇️
neuro-cli/src/neuro_cli/ael.py 16.19% <0.00%> (-38.34%) ⬇️
neuro-cli/src/neuro_cli/job.py 42.77% <0.00%> (-37.19%) ⬇️
neuro-sdk/src/neuro_sdk/_buckets.py 54.59% <0.00%> (-31.09%) ⬇️
neuro-cli/src/neuro_cli/root.py 70.37% <0.00%> (-24.34%) ⬇️
neuro-cli/src/neuro_cli/secrets.py 64.00% <0.00%> (-24.00%) ⬇️
neuro-sdk/src/neuro_sdk/_bucket_base.py 63.12% <0.00%> (-23.13%) ⬇️
neuro-cli/src/neuro_cli/formatters/admin.py 79.47% <0.00%> (-20.53%) ⬇️
neuro-sdk/src/neuro_sdk/_parser.py 69.68% <0.00%> (-19.69%) ⬇️
... and 34 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 626eccb...ca0376d. Read the comment docs.

@@ -102,6 +102,16 @@ async def get_shares(
ret.append(Share(item["user"], Permission(uri, action)))
return ret

async def get_subroles(
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you write a test for this method?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, forgot about it. Done.

@romasku romasku merged commit cb541b5 into master Jan 17, 2022
@romasku romasku deleted the rs/list-roles branch January 17, 2022 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add abbility to list roles
2 participants