[ 
https://issues.apache.org/jira/browse/UNOMI-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Serge Huber resolved UNOMI-299.
-------------------------------
    Fix Version/s: 1.5.0
         Assignee: Serge Huber
       Resolution: Fixed

> Revoking consent does not work if there is a scope supplied when the consent 
> was GRANTED
> ----------------------------------------------------------------------------------------
>
>                 Key: UNOMI-299
>                 URL: https://issues.apache.org/jira/browse/UNOMI-299
>             Project: Apache Unomi
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.4.0
>            Reporter: Ben Schiefer
>            Assignee: Serge Huber
>            Priority: Major
>             Fix For: 1.5.0
>
>
> When GRANTING a consent, the consent is added to the consent object with a 
> key of 
> ```
> consent.getScope() + "/" + consent.getTypeIdentifier()
> ```
> When REVOKING a consent, only the typeIdentifier is used to find the key (see 
> [https://github.com/apache/unomi/blob/ea1b788ec82b2ad8e404236e21d974a11e68429a/api/src/main/java/org/apache/unomi/api/Profile.java#L226])
>  
> Expected Result:
> The profile.setConsent method should be consistent in using the same key for 
> all consentStatuses.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to