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

Check if service account has role admin #49

Merged
merged 5 commits into from
Mar 5, 2024

Conversation

lukasmatusiewicz
Copy link
Collaborator

@lukasmatusiewicz lukasmatusiewicz commented Mar 5, 2024

If service acount hasn't role admin, the proper debug message will be printed to log, and no auth token will be sent to the server.
Server will response with error: Missing authorization header.

  • Add a unit test.
  • Manual test.

@lukasmatusiewicz lukasmatusiewicz linked an issue Mar 5, 2024 that may be closed by this pull request
@nilsbehlen nilsbehlen merged commit ebc52bb into master Mar 5, 2024
1 check passed
@lukasmatusiewicz lukasmatusiewicz deleted the 44-getauthtoken-check-if-serviceaccount-is-admin branch March 5, 2024 14:57
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.

getAuthToken(): Check if serviceAccount is admin.
2 participants