We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Restrict a Her::Model to only supporting certain operations.
In the case where you want to use all the features of the Her ORM, but you only have read-only access to a given object.
class Profile include Her::Model # Whitelist options supports :read, :create, :update, :delete # Blacklist actions restricts :update, :delete end
I like the idea of whitelisting with an :all over blacklisting, thoughts?
:all
The text was updated successfully, but these errors were encountered:
I was thinking the same thing. Why was this closed?
Sorry, something went wrong.
👍 to have this feature
Nice idea.
No branches or pull requests
What
Restrict a Her::Model to only supporting certain operations.
Why
In the case where you want to use all the features of the Her ORM, but you only have read-only access to a given object.
Proposed DSL
I like the idea of whitelisting with an
:all
over blacklisting, thoughts?The text was updated successfully, but these errors were encountered: