elixir-cloud-aai / foca

Opinionated Flask microservice archetype for quick OpenAPI-based microservice development
Apache License 2.0
18 stars 11 forks source link

bug: unable to provide custom model config for access control #181

Closed alohamora closed 10 months ago

alohamora commented 11 months ago

I am unable to provide a custom model config to foca because there is a condition in foca to only read the custom model config if API specs for access control APIs is provided. https://github.com/elixir-cloud-aai/foca/blob/d4c1280ccd93ce2849a2d0b0b35e609e93776ebd/foca/security/access_control/register_access_control.py#L108-L114

So, if I just want to provide a custom model config without providing a custom set of permission APIs, I am unable to do so.

uniqueg commented 11 months ago

Thanks for reporting 👍

Do you wanna fix it? :)