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

feat: implement DataPlaneAccessControlService #3909

Conversation

paullatzelsperger
Copy link
Member

What this PR changes/adds

This PR adds the DataPlaneAccessControlService plus a default allow-all implementation.

Why it does that

data plane signaling.

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes #3894

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger added enhancement New feature or request dpf Feature related to the Data Plane Framework labels Feb 22, 2024
* @param requestData Additional information about the request, e.g. URL pattern, additional headers, query params, etc.
* @return success if access to the resource is granted, a failure otherwise.
*/
Result<Void> checkAccess(ClaimToken claimToken, DataAddress address, Map<String, Object> requestData);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'claimToken' is never used.
* @param requestData Additional information about the request, e.g. URL pattern, additional headers, query params, etc.
* @return success if access to the resource is granted, a failure otherwise.
*/
Result<Void> checkAccess(ClaimToken claimToken, DataAddress address, Map<String, Object> requestData);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'address' is never used.
* @param requestData Additional information about the request, e.g. URL pattern, additional headers, query params, etc.
* @return success if access to the resource is granted, a failure otherwise.
*/
Result<Void> checkAccess(ClaimToken claimToken, DataAddress address, Map<String, Object> requestData);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'requestData' is never used.
@paullatzelsperger paullatzelsperger merged commit 378a887 into eclipse-edc:main Feb 22, 2024
20 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/3894_implement_dataplaneaccesscontrolservice branch February 22, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dpf Feature related to the Data Plane Framework enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DPS: implement DataPlaneAccessControlService
3 participants