Skip to content

feat: Update access requests to use PAT#81

Merged
joachimvh merged 1 commit intomainfrom
access-requests
Feb 16, 2026
Merged

feat: Update access requests to use PAT#81
joachimvh merged 1 commit intomainfrom
access-requests

Conversation

@joachimvh
Copy link
Contributor

Updates the access request implementation to work with PATs to ensure only resource owners can accept requests. The access request documentation has been updated accordingly.

Some of the changes here are definitely not perfect, but, in my opinion, improvements that get the requests working better and more stable until a more comprehensive refactor is possible. To do the latter the internals of the policy API will also have to be updated.

One of the main changes is that a request is now made by POSTing a JSON object with the target resource and scopes, instead of a full turtle document containing details that should be generated by the server. The disadvantage is that this can be restrictive for more advanced use cases, but for now this should suffice. There is something to be said for just allowing the user to submit full policies to be accepted in the future.

PAT data is now supported, so only actual resource owners can accept requests.

Besides that there are various minor updates in the relevant classes to have more correct output.

@joachimvh joachimvh force-pushed the access-requests branch 3 times, most recently from 9dce13c to 6b3f4f4 Compare February 10, 2026 14:02
@joachimvh joachimvh merged commit b2518b3 into main Feb 16, 2026
6 checks passed
@joachimvh joachimvh deleted the access-requests branch February 16, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant