Skip to content

feat(auth): Added InsufficientPermissionError type #354

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

Merged
merged 2 commits into from
Oct 10, 2019

Conversation

hiranya911
Copy link
Contributor

@hiranya911 hiranya911 commented Oct 9, 2019

Firebase Auth sends back an INSUFFICIENT_PERMISSION error code when the credential lacks a required permission. This PR introduces a new InsufficientPermissionError type to properly handle this error code.

RELEASE NOTE: Added auth.InsufficientPermissionError type to represent operations that fail due to the credential lacking a required permission.

Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

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

LGTM!

@hiranya911 hiranya911 merged commit 69264dc into master Oct 10, 2019
@hiranya911 hiranya911 deleted the hkj-permission-error branch October 10, 2019 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants