Request contexts contain a few information, useful to contextualize how a request has been passed to Kuzzle.
Since we do know from what IP address a request has been submitted, I think we should inject that information too in the request context, in a new ips: <Array> property
Use case: provide a way to plugin developers to grant or deny access to Kuzzle API features depending of the IP address. For instance by allowing access to some API methods only from IPs registered in a white list
Request contexts contain a few information, useful to contextualize how a request has been passed to Kuzzle.
Since we do know from what IP address a request has been submitted, I think we should inject that information too in the request context, in a new
ips: <Array>
propertyUse case: provide a way to plugin developers to grant or deny access to Kuzzle API features depending of the IP address. For instance by allowing access to some API methods only from IPs registered in a white list