Skip to content

Add NGSI-v2 compatibility for attribute-based authorization modes #18

Description

@dwendland

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions