[Patchew-devel] [PATCH v2] rest: add api/v1/messages endpoint (POST support)

Shubham Jain shubhamjain7495 at gmail.com
Tue May 15 13:27:16 UTC 2018


On Tue, May 15, 2018 at 6:25 PM Paolo Bonzini <pbonzini at redhat.com> wrote:

> On 15/05/2018 14:40, Shubham Jain wrote:
> >     This can be just "projects = (p for p in projects if
> >     p.maintained_by(self.request_user))".  I'll make the change and
> >     commit it.
> >
> > What's next?
>
> Write more tests. :)

Alright. Could you please elaborate "Add more testcases around
authorization: check for 403 on unauthenticated post, check what the
"importer" group is allowed to do, etc."?

>
>
Then I'm thinking of jumping directly to OAuth...  Either that, or the
> update-project-head old-style request, which would be an easy POST
> request like /projects/{pk}/update-head.
>
> Cool, I'll start going through the documentation of OAuth side by side.
Which third party OAuth are we going to use?

Shubham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/patchew-devel/attachments/20180515/5e2365a9/attachment.htm>


More information about the Patchew-devel mailing list