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

feat: allow staff members to delete events #208

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

ojeytonwilliams
Copy link
Contributor

@ojeytonwilliams ojeytonwilliams commented Jan 25, 2024

Closes #204

This is a very basic implementation of the requirement. If you sign in with an @freecodecamp.org email address, you're allowed to delete any event via a button next to the event.

If you're not signed in or are signed in with any other email address, you will not see the button (and will be rejected by the api).

Signed in with staff email:

image

Signed out:

image

@ojeytonwilliams ojeytonwilliams changed the title feat: allow event deletion feat: allow staff members to delete events Jan 26, 2024
@ojeytonwilliams ojeytonwilliams marked this pull request as ready for review January 26, 2024 15:30
@ojeytonwilliams ojeytonwilliams requested a review from a team as a code owner January 26, 2024 15:30
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.

Add delete functionality
1 participant