I tried to use this Kong image and was able to install kong and is running.
I have a issue with keyrock permission :
**Without using Query parameters**
In Keyrock UI, I have set the keyrock permission: method: GET, resource : **/ngsi-ld/v1/entities**
when i try to get the entities using postman it works with out issues
**With using Query parameters**
In Keyrock UI, when i set the keyrock permission: method: GET, resource: **/ngsi-ld/v1/entities?type=city**
This fails to authorize gives error:
[pep-plugin:1121] time="2023-08-10T06:16:21Z" level=debug msg="Delegate decision to Keyrock.", context: ngx.timer
[pep-plugin:1121] time="2023-08-10T06:16:21Z" level=info msg="[Keyrock] Request was not allowed. Response was &
{0xc00020ed00 {0 0} false 0xc000022080 <nil> 0x6a1100}.", context: ngx.timer
[pep-plugin:1121] time="2023-08-10T06:16:21Z" level=info msg="Request was not allowed.", context: ngx.timer
Same situation when i try to POST the data
**Without using Query parameters**
In Keyrock UI, I have set the keyrock permission method: GET, resource : **/ngsi-ld/v1/entityOperations/upsert**
when i try to get the entities using postman it works with out issues
**With using Query parameters**
In Keyrock UI, when i set the keyrock permission method: GET, resource: **/ngsi-ld/v1/entityOperations/upsert?type=city**
This fails to authorize gives error:
[pep-plugin:1121] time="2023-08-10T06:16:21Z" level=debug msg="Delegate decision to Keyrock.", context: ngx.timer
[pep-plugin:1121] time="2023-08-10T06:16:21Z" level=info msg="[Keyrock] Request was not allowed. Response was &
{0xc00020ed00 {0 0} false 0xc000022080 <nil> 0x6a1100}.", context: ngx.timer
[pep-plugin:1121] time="2023-08-10T06:16:21Z" level=info msg="Request was not allowed.", context: ngx.timer
Why am i not able to give Query parameter : type as a filter in keyrock permission so that user with specific permission entity type (in this case city) can only get the data and others get denied for rest of the entity types.
how can i give permission based on Query parameter : type .
Hi
I tried to use this Kong image and was able to install kong and is running.
I have a issue with keyrock permission :
Same situation when i try to POST the data
my kong congif
orion-a
Why am i not able to give Query parameter : type as a filter in keyrock permission so that user with specific permission entity type (in this case city) can only get the data and others get denied for rest of the entity types.
how can i give permission based on Query parameter : type .