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(builtin-groups): support builtin groups in user.yaml #625

Merged
merged 4 commits into from
May 14, 2019

Conversation

rudyardrichter
Copy link
Contributor

New Features

  • Allow setting policies for anonymous and logged-in groups in the user.yaml.

@PlanXCyborg
Copy link
Contributor

PlanXCyborg commented May 14, 2019

The style in this PR agrees with black. ✔️

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

if response.status_code != 204:
msg = data.get("error", "unhelpful response from arborist")
if isinstance("error", dict):
msg = data["error"].get("message", msg)
Copy link
Contributor

Choose a reason for hiding this comment

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

do you need to check if "error" in data, or do non-204s always have that information?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should always be there but never hurts 👍

rudyardrichter and others added 3 commits May 14, 2019 09:21
@rudyardrichter rudyardrichter merged commit 1173697 into feat/arborist May 14, 2019
@m0nhawk m0nhawk deleted the feat/builtin-groups branch August 14, 2019 20:05
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