Skip to content

[README] Add notes on Authorization #769

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

shellandbull
Copy link
Contributor

It doesn't come built-in with the framework, but it's a good idea to point people in the right direction 👍

@@ -1199,7 +1200,7 @@ rails generate jsonapi:controller contact
###### ResourceControllerMetal

`JSONAPI::Resources` also provides an alternative class to `ResourceController` called `ResourceControllerMetal`.
In order to provide a lighter weight controller option this strips the controller down to just the classes needed
In order to provide a lighter weight controller option this strips the controller down to just the classes needed
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trailing whitespace, caught by my text editor

@shellandbull
Copy link
Contributor Author

@lgebhardt Small question though - Shouldn't we add a small entry mentioning how a user could use a processor to validate a request? I think there's enough stuff in json-api-resources to come up with something clean, but I'd have to dedicate it some time

@lgebhardt lgebhardt merged commit 8f1a7c3 into cerebris:master Jul 21, 2016
@lgebhardt
Copy link
Member

@mariogintili Thanks! Yes, I think getting some additional documentation on using processors for authorization would be nice. I merged this PR, but a second PR when you have some time to dedicate to this would certainly be welcome.

@valscion valscion mentioned this pull request Jul 21, 2016
@shellandbull
Copy link
Contributor Author

@lgebhardt I gave it some thought and added an extra comment on #16 let's keep the discussion there or maybe open a new PR 😄

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants