kuzzleio / kuzzle-plugin-sample-custom-policies

Example of advanced permission management with a Kuzzle plugin
Apache License 2.0
1 stars 0 forks source link

Update to Kuzzle v2 #2

Open MShekow opened 3 years ago

MShekow commented 3 years ago

The plug-in seems to have been written for Kuzzle v1.x. It would be great to see an updated version that works for v2.

Aschen commented 3 years ago

Hi @MShekow

Yes this plugin was written a (very) long time ago for Kuzzle v1. It also uses the old callback API for pipes.

Apart from the API change, the logic would remains the same today: