Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Small thing I think make sense #1

Open
jduarte opened this Issue · 2 comments

2 participants

@jduarte

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?

Greetings,

@jnunemaker
Owner

Why?

@jduarte

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.

Greets

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.