-
Notifications
You must be signed in to change notification settings - Fork 3
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
Ticket requesters cannot delete their own ticket requests #149
Comments
Issue is a calling delete when destroy is needed. Issue is in views/ticket_request/show.html.haml Should be destroy. But path is wrong here so need to wait till other changes are in |
I disagree — I think we should allow deleting your own ticket request until it's been either paid for, or approved. It should be possible to go back and change your mind, unless someone approved it. |
I don't think this is correct. Method delete invokes the destroy action. I tested and it works. I think @yarunluon ia saying users should not BE ABLE TO delete their own ticket requests. I am saying they should unless the ticket is other approved or paid for. |
I disabled the button for now |
I'm fine closing this ticket for now. For future reference, my preference is for both Ticket Requesters and Admins to be able to delete tickets. |
Why would the admins need to be able to delete ticket requests? They already can approve or decline it. The reason only the ticket request submitted should be able to delete the ticket request is if it hasn't been paid for yet, and perhaps it was created in error. Please realize that deleting ticket request is an irreversible operation and it physically deletes the request from the database, leaving no record of the ticket request being there in the first place. Admins should never be able to delete other people's requests. They can decline it and it will remain as a record. |
I created a ticket request as a test and now I cannot delete it. This is a bad user experience. I should be able to delete it if i haven't paid for it. |
The old version of TicketBooth did not have a delete button so an addition of a button in any form is a bonus for me. Not having a delete button is the status quo and I'm also fine with that.
Admins get requests from ticket requesters to "delete" their tickets. For house keeping reasons, Admins want to clear tickets to understand the current state of tickets.
We're probably working with different levels of the term "delete". I'm only speaking at a UI level and you're referencing a DB level. "Hiding" and "Deleting" a ticket request are the same to me. How this is represented in the DB doesn't matter to me. |
@yarunluon the delete will be working for this release as follows:
For each event, and each user there could be any number of logically deleted ticket requests and only one "live" ticket request. |
This makes sense to me. Would it be easier to phrase it as "Cancel the ticket request" as the "logical delete" at the UI level? We can reserve "Delete" for when we actually remove records from the DB like you said. Instead of a "Delete button", we'll call it a "Cancel button". |
Describe the bug
Ticket requesters cannot delete their own ticket requests. However, Admins can delete ticket requests. As a workaround, users can ask Admins to delete their ticket requests.
To Reproduce
Steps to reproduce the behavior:
Note
Admins can delete ticket requests. Users cannot delete their own ticket requests.
Expected behavior
Users should be able to delete their own ticket requests.
Screenshots
Version info
App Version:
1.0.1
Rails:
7.1.3.2
Ruby:
3.2.3
Mode:
production
Credentials
https://tickets.fnf.events/events/14/ticket_requests/3027
[email protected]
ethical-STRIATED-dormer
The text was updated successfully, but these errors were encountered: