RIPAGlobal / scimitar

A SCIM v2 API endpoint implementation
MIT License
57 stars 37 forks source link

omit Groups from /Schemas if not configured #118

Closed gsar closed 3 months ago

gsar commented 5 months ago

I noticed the /Schemas endpoint always returns Group even though we don't have groups defined in our set up. Allowing default_resources to be configurable / overridable (or even determining this automatically from the fact that there is no groups resource included via the resources mixin) is a good idea to allow auto-discovery.

pond commented 3 months ago

https://github.com/RIPAGlobal/scimitar/pull/133 will implement this, via a new call that lets you override defaults. I tried a few introspection approaches to do this automatically, but they were messy and unreliable. A simpler approach seemed better.

pond commented 3 months ago

Published as v2.9.0 (Rails 7) and v1.10.0 (Rails 6).