FIWARE / api-umbrella

Open source API management platform
https://fiware-api-umbrella.readthedocs.io/
MIT License
2 stars 7 forks source link

Consider wildcards when comparing user policies for iSHARE-compliant authorization mode #22

Open dwendland opened 2 years ago

dwendland commented 2 years ago

When the user policy is compared to the required policy, wildcards for attributes and identifier are not considered.

This needs to be fixed in https://github.com/FIWARE/api-umbrella/blob/d6fd2e71ca147caba9fb50872392f6a5487336b8/src/api-umbrella/proxy/middleware/policy_validator_cb_ishare_auto.lua#L481 or the respective utility module function developed in #16