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: returning message to user if unauthorized access to oppgave #371

Closed
wants to merge 1 commit into from

Conversation

jaflaten
Copy link
Contributor

@jaflaten jaflaten commented Dec 9, 2024

Co-authored-by: Natalie Uranes natalie.uranes@gmail.com

Co-authored-by: Natalie Uranes <natalie.uranes@gmail.com>
@jaflaten jaflaten requested a review from a team as a code owner December 9, 2024 14:15
ferdigstillRegistrering,
null,
loggingMeta,
ferdigstillRegistrering.oppgaveId.toString(),
)
if (res.statusCode == HttpStatus.UNAUTHORIZED || res.statusCode == HttpStatus.FORBIDDEN) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Burde vi logge brukerid e.l. og?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sletter dette.. vi dekker det med exception handler.

@jaflaten jaflaten closed this Dec 9, 2024
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.

2 participants