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

0.10 new API router as a more granular acl #2140

Closed
mbande opened this issue Feb 28, 2017 · 1 comment
Closed

0.10 new API router as a more granular acl #2140

mbande opened this issue Feb 28, 2017 · 1 comment

Comments

@mbande
Copy link

mbande commented Feb 28, 2017

Summary

it seems that new router api make it available to define acl rules per uri+method combination, is it true?
can somebody provide an example of how to use this new router. e.g. to allow 'user' group to view /foo list (GET /foo), but not to create foo(POST /foo). at the same time to allow 'staff' group to create a new one

@Tieske
Copy link
Member

Tieske commented Mar 2, 2017

when creating an api you can specify the methods, so the GET would be a different api than the POST or example. Each can have its own plugins.

for unreleased docs see https://github.com/Mashape/getkong.org/blob/d3c400701233b2c99635e90653a1dada0a5273ce/app/docs/0.10.x/proxy.md

@Tieske Tieske closed this as completed Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants