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 #413

Closed
divinecharlotte opened this issue Sep 26, 2024 · 1 comment · Fixed by d-rec/drec-ui#179
Assignees

Comments

@divinecharlotte
Copy link

divinecharlotte commented Sep 26, 2024

Subticket of d-rec/drec-ui#149

Objective:

Giving a user clear information everywhere an UnauthorizedException() is thrown.

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.
@Kingcedru
Copy link

  • Change the title name there are some typos

@divinecharlotte divinecharlotte changed the title Giving a user clear information on each aunothorized attempt where its not given in the backend Giving a user clear information on each unauthorized attempt where its not given in the backend Oct 2, 2024
@divinecharlotte divinecharlotte changed the title Giving a user clear information on each unauthorized attempt where its not given in the backend Giving a user clear information on each unauthorized attempt where its not given in the frontend Oct 3, 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 a pull request may close this issue.

2 participants