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

Should a copy of access needs be retained when consent is granted? #177

Closed
Tracked by #279
justinwb opened this issue Sep 10, 2021 · 2 comments
Closed
Tracked by #279

Should a copy of access needs be retained when consent is granted? #177

justinwb opened this issue Sep 10, 2021 · 2 comments
Labels
question Further information is requested

Comments

@justinwb
Copy link
Member

Recording this as its own issue after it was raised in #173

What is the cost / benefit of copying access needs into the consent registry, and referencing them in the Application Profile?

To date we have stored these in the (likely) event that an Application Profile changes its Access Needs, either by adding new ones or removing others. Having a local copy gives us the ability to compare what was originally authorized vs. the changed set.

We may be able to offload this to the Application's profile, and specify that the application must maintain a historical set of its changes, so that it's explicit when there is an updated set, and they can be diffed. A hash (e.g. URDNA2015) could also be maintained by the client to look for cases where the application changes an existing set. Generally the problem with this approach would be that if the application stops publishing their access needs at some point, the links would break, and that would impact the auditing trail.

We could leave it as a recommendation that implementations cache access needs in the consent registry when necessary to maintain that audit trail.

@justinwb justinwb added the question Further information is requested label Sep 10, 2021
@elf-pavlik
Copy link
Member

#279 Defining Access Needs (and Groups) as immutable should make versioning and caching them easier.

@elf-pavlik
Copy link
Member

We will track it in #279

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants