Skip to content

Commit

Permalink
Add permissioning for toggle_sales route
Browse files Browse the repository at this point in the history
  • Loading branch information
aviupadhyayula committed Jan 17, 2025
1 parent bf413bc commit 80bb21d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/clubs/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def has_object_permission(self, request, view, obj):
"create_tickets",
"issue_tickets",
"email_blast",
"toggle_sales",
]:
if not request.user.is_authenticated:
return False
Expand Down

0 comments on commit 80bb21d

Please sign in to comment.