Skip to content
New issue

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

Add hooks around manipulated resources #5

Open
paulRbr opened this issue Sep 6, 2014 · 1 comment
Open

Add hooks around manipulated resources #5

paulRbr opened this issue Sep 6, 2014 · 1 comment
Assignees
Milestone

Comments

@paulRbr
Copy link
Contributor

paulRbr commented Sep 6, 2014

What

We need to be able to control the resources before and after the action done in each API route.

Why

Add ACL on your API routes

How

I propose to implement kind of hooks you could define in your controller

@paulRbr paulRbr self-assigned this Sep 6, 2014
@paulRbr paulRbr added this to the 0.4.0 milestone Sep 6, 2014
@paulRbr
Copy link
Contributor Author

paulRbr commented Oct 17, 2014

Part of this is done in limit_{action}_for additional methods to write in your model's controller:

Todo

  • review
  • validate
  • documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant