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

Giving a user clear information on each unauthorized attempt where its not given in the frontend #174

Closed
wants to merge 4 commits into from

Conversation

divinecharlotte
Copy link
Contributor

@divinecharlotte divinecharlotte commented Oct 4, 2024

Description:

  • Check everywhere UnauthorizedException() is thrown .
  • Everywhere UnauthorizedException() is thrown send a message with information explaining why it’s un-authorized.
  • If it's error 403: Say something "You don't have the right permission to access this resource"
  • if it's error 401: We should direct to the login page

Acceptance Criteria:

  • The project runs as expected with clear information wherever UnauthorizedException() is thrown.
  • UnauthorizedException() is thrown as expected.

@divinecharlotte divinecharlotte changed the title Ft/unauthorized information Giving a user clear information on each unauthorized attempt where its not given in the frontend Oct 7, 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.

1 participant