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

Allow only substitution with delegation type 0 #122

Merged
merged 2 commits into from
Mar 18, 2021
Merged

Conversation

filipmatusak
Copy link
Collaborator

Closes #109

docs/errors.md Outdated
@@ -33,6 +33,7 @@
| authorization.apiKey.sign.invalid | 401 | Signature is invalid | |
| authorization.bearer.invalid | 401 | Cannot parse bearer token | |
| authorization.upvs.request.failed | 424 | ÚPVS login request failed | |
| authorization.upvs.wrongSubstitutionType | 403 | ÚPVS delegation type for substitution must be 0 | |
Copy link
Collaborator

Choose a reason for hiding this comment

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

wrong -> forbidden

internal/apiserver/auth.go Show resolved Hide resolved
internal/apiserver/auth.go Outdated Show resolved Hide resolved
@filipmatusak filipmatusak merged commit 3011708 into main Mar 18, 2021
@filipmatusak filipmatusak deleted the delegation-type branch March 18, 2021 16:08
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.

Allow logging in as company only for executive manager
2 participants