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

USER STORY: Appointments Restrictions #30

Closed
2 tasks done
MoniPar opened this issue Feb 25, 2023 · 0 comments
Closed
2 tasks done

USER STORY: Appointments Restrictions #30

MoniPar opened this issue Feb 25, 2023 · 0 comments
Labels
1 Story point Must Have Guaranteed to be delivered
Milestone

Comments

@MoniPar
Copy link
Owner

MoniPar commented Feb 25, 2023

As a developer, I can restrict access on users appointments so that only the logged in user and admin are able to access, update and delete said user's appointments.

Acceptance Criteria

  1. A 403 Forbidden is thrown when users try to access, other users appointments through the URL address bar.
  2. 403 page is customised so that navigation and footer are included in order for the user to be able to easily navigate to other parts of the website.

Tasks

  • Override the test_func() in the 'AppointmentDetail', 'AppointmentUpdate' and 'AppointmentDelete' views
  • Create the custom 403 template
@MoniPar MoniPar added 1 Story point Must Have Guaranteed to be delivered labels Feb 25, 2023
@MoniPar MoniPar added this to the Appointments milestone Feb 25, 2023
@MoniPar MoniPar closed this as completed Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 Story point Must Have Guaranteed to be delivered
Projects
Development

No branches or pull requests

1 participant