wastebin icon indicating copy to clipboard operation
wastebin copied to clipboard

Feature suggestion: Delete paste by using the password

Open christianmerges opened this issue 2 months ago • 6 comments

At the moment deleting a paste is not possible without saving the cookie from creating. It would be great to just delete it in the frontend and via apicall just by providing the password.

christianmerges avatar Oct 13 '25 22:10 christianmerges

So you want to conflate decryption with further access control?

matze avatar Oct 14 '25 12:10 matze

Not really. When it is possible to view the cobtent by providing url and password, it should also be possible for the backend to delete that entry from the database.

christianmerges avatar Oct 14 '25 13:10 christianmerges

Yes, so much is clear. But the point is: just because I have the password now (perhaps shared by a colleague) why would that give me the right to also be able to delete it?

matze avatar Oct 14 '25 13:10 matze

Because the creator of the paste chose to. Sonetimes it is needed to open the paste on another device again, so the feature "burn after view" is not helping. I have a bunch of pasts now, where i do not have saved the cooke, which i wanna delete now. We could also make these deletions with an "admin apikey".

christianmerges avatar Oct 14 '25 13:10 christianmerges

Because the creator of the paste cose to

Would be great, if you had phrased it like that in the initial request :-)

matze avatar Oct 14 '25 13:10 matze

I try to improve every day :)

christianmerges avatar Oct 14 '25 14:10 christianmerges