Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well yeah, but for most part, just make sure the user is deleting something that belongs to him. No point in introducing CanCan or ACL unless you got some more role action going on. Moderators, Admins etc.

Also, by delete. I mean version and hide. Not actually deleting it.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: