-
Notifications
You must be signed in to change notification settings - Fork 510
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
Create SecuredEssentialAction #482
Comments
I would like to add this but not sure I can do it soon. If you want to start I'd take a look at EssentialAction (or Action itself) and try to create an action that checks if the request is authenticated (as SecuredAction does) and if it's the case then use the body parser to parse the request and delegate to the action code. |
Okay, thanks Jorge. I'll take a look and try to get this implemented. |
Alright, feel free to ping me if you get blocked. |
@jaliss I'm struggling to make much progress on this. I've tried adding an Essential Action, but I can't seem to manually authenticate. Any way you could offer some assistance or point me in the right direction? |
I'm writing an action that has a custom body parser, that streams the incoming file to an S3 instance. Prior to parsing that body, I need to check that the user is authenticated and perform some database calls to validate that the user has permission to update a file of that size.
In order to do this, I believe this module will need to extend EssentialAction (as you informed me in this comment on StackOverflow) that will authenticate the user PRIOR to parsing the body.
Is this something you would be able to add, or something you could point me in the right direction to adding?
The text was updated successfully, but these errors were encountered: