Hi all,
I’m planning on creating a service which returns data dependent on a given path parameter. ( e.g. HTTP/GET on “/customers/1” to retrieve all customer “1’s” data). In addition to this, they’ll also need to be a security restriction so that only specific consumers can have access to the appropriate data (e.g. consumer1 can only access “/customers/1”, consumer2 to “/customers/2”, etc etc)
I’m looking at using the acl plugin but it seems like I’d need to create a different route for each value of the path param so that I can restrict access at this level of granularity.
Couple of questions…
- Is this correct approach?
- Wouldn’t this mean that the number of routes is tied to the number of customers?
- Can Kong cope with a large number of routes?
Thanks, Lee