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

fix(core): add back isEnabled check to hasPermission method to preven… #433

Merged
merged 1 commit into from
Jul 1, 2019

Conversation

maggieneterval
Copy link
Contributor

…t NPEs

  • Prior to this PR, fiatStatus.isEnabled was called prior to trying to read anything off the (possibly null) auth object. Do this check immediately in order to prevent NPEs.

@maggieneterval maggieneterval merged commit bd52240 into spinnaker:master Jul 1, 2019
@maggieneterval
Copy link
Contributor Author

@spinnakerbot cherry-pick 1.14

@spinnakerbot
Copy link
Contributor

Cherry pick successful: #434

clanesf pushed a commit to clanesf/fiat that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants