Open dwendland opened 2 years ago
The current implementation in https://github.com/FIWARE/api-umbrella/blob/master/src/api-umbrella/proxy/middleware/policy_validator_cb_ishare_auto.lua only supports NGSI-LD requests. This should be enhanced to also support v2 requests.
The corresponding functions evaluating the policy parameters should be added to the utility module implemented in #16 .
Support should be also added to the iSHARE-compliant authorization mode https://github.com/FIWARE/api-umbrella/blob/master/src/api-umbrella/proxy/middleware/policy_validator_cb_ishare_auto.lua
It needs to be investigated whether the authorization mode should handle automatically both types (v2 and LD) and whether there should be an option to configure that on the UI, e.g. in the API-Backend UI.
The current implementation in https://github.com/FIWARE/api-umbrella/blob/master/src/api-umbrella/proxy/middleware/policy_validator_cb_ishare_auto.lua only supports NGSI-LD requests. This should be enhanced to also support v2 requests.
The corresponding functions evaluating the policy parameters should be added to the utility module implemented in #16 .
Support should be also added to the iSHARE-compliant authorization mode https://github.com/FIWARE/api-umbrella/blob/master/src/api-umbrella/proxy/middleware/policy_validator_cb_ishare_auto.lua
It needs to be investigated whether the authorization mode should handle automatically both types (v2 and LD) and whether there should be an option to configure that on the UI, e.g. in the API-Backend UI.