Skip to content

Small thing I think make sense #1

jduarte opened this Issue Mar 4, 2010 · 2 comments

2 participants

jduarte commented Mar 4, 2010

Hi John,

First of all, congrats on this gem. I really think it's well thought and designed!

I was seeing your example and I think that the method destroyable_by? should default to updatable_by? instead of true like you show in your README example.

What do you think?




jduarte commented Mar 4, 2010

By default if only some users are able to update a record, only the same users are able to destroy it.
When I think in real-life apps I've made nobody without access to update an object has permissions to destroy that same object.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.