Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's possible to have a demand granted with no response #246

Open
milstan opened this issue Nov 18, 2022 · 3 comments
Open

It's possible to have a demand granted with no response #246

milstan opened this issue Nov 18, 2022 · 3 comments
Assignees
Labels
effort1: easy (hours) type: epic Placeholder for large requirements that should be broken down into specific issues

Comments

@milstan
Copy link
Member

milstan commented Nov 18, 2022

Description

Example: Transparency demand is GRANTED yet no response is given.

image

Intended outcome

Show response - even if "Null"

@milstan milstan added the type: epic Placeholder for large requirements that should be broken down into specific issues label Nov 18, 2022
@milstan milstan moved this to 🆕 New in blindnet devkit Nov 18, 2022
@m4rk055
Copy link
Member

m4rk055 commented Nov 18, 2022

Transparency demand does not have an answer itself, but contains other transparency demand responses (dpo, retention policies etc.) which should be displayed in the same list as this demand.

@jboileau99
Copy link
Collaborator

jboileau99 commented Nov 21, 2022

Transparency demand does not have an answer itself, but contains other transparency demand responses (dpo, retention policies etc.) which should be displayed in the same list as this demand.

@m4rk055 That's how it works currently, for a Transparency demand it will display a list item for each Transparency.* action.

For this issue though, it's a Transparency.Retention demand, and the answer is empty. Checking the demo app, the response JSON is:

{
    "demand_id": "c8fc4829-d46f-49e8-98b5-1f136c88dfce",
    "date": "2022-11-21T11:10:07.539Z",
    "requested_action": "TRANSPARENCY.RETENTION",
    "status": "GRANTED",
    "motive": null,
    "answer": "{\n  \n}",
    "message": null,
    "lang": null,
    "includes": [],
    "data": null
}

It wasn't empty before, the answer had a list of objects matching the RetentionPolicy schema I believe. Is it someting in the demo PCE configuration that's causing it to return an empty string?

@m4rk055
Copy link
Member

m4rk055 commented Nov 21, 2022

It's returning only the retention policies for data categories included in user's privacy scope. I think your eligible privacy scope is empty because you made restrict/object demands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort1: easy (hours) type: epic Placeholder for large requirements that should be broken down into specific issues
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants