anvilresearch / connect

A modern authorization server built to authenticate your users and protect your APIs
http://anvil.io
MIT License
361 stars 86 forks source link

Add endpoints for manipulating client roles #306

Closed bauglir closed 8 years ago

bauglir commented 8 years ago

This is shamelessly duplicated from the userRoles code (both the implementation as well as the tests), but I guess that's okay as it pretty much represents the exact same functionality apart from the targeted resource.

Of course the duplication could probably be removed, but I personally like the straightforwardness of defining these roles this way given the amount of duplication.

christiansmith commented 8 years ago

Saved me a bunch of time :) Thanks