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(user-rbac-info): add user policies in info #604

Merged
merged 1 commit into from
Apr 3, 2019

Conversation

rudyardrichter
Copy link
Contributor

@rudyardrichter rudyardrichter commented Apr 1, 2019

Improvements

  • User info endpoint will return policy list from arborist for that user, if available.

@rudyardrichter rudyardrichter marked this pull request as ready for review April 2, 2019 21:00
@PlanXCyborg
Copy link
Contributor

This PR contains code that is not formatted correctly according to black. Run black on your code before merging.

Expand the full diff to see formatting changes
--- tests/conftest.py
+++ blackened
@@ -180,11 +180,10 @@
     return "test-keypair-2"
 
 
 @pytest.fixture(scope="function")
 def mock_arborist_requests(request):
-
     def do_patch(urls_to_responses=None):
         urls_to_responses = urls_to_responses or {}
         defaults = {"arborist/health": {"GET": ("", 200)}}
         defaults.update(urls_to_responses)
         urls_to_responses = defaults

This formatting comment was generated automatically by a script in uc-cdis/wool.

Copy link
Contributor

@Avantol13 Avantol13 left a comment

Choose a reason for hiding this comment

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

LGTM

@rudyardrichter rudyardrichter merged commit a010e9e into feat/arborist Apr 3, 2019
@rudyardrichter rudyardrichter deleted the feat/user-rbac-info branch April 3, 2019 15:28
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.

3 participants