inrupt / inrupt/solid-client-js
function in universalAccess module to fetch both public access and all agents access
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 245
- Forks
- 42
- Avg merge
- 12h 49m
- Merged PRs (30d)
- 22
Description
Search terms you've used
Feature suggestion
function in universalAccess module to fetch both public access and all agents access
Expected functionality/enhancement
a function that in addition to what getAgentAccessAll function returns, would also include public access rights
Actual functionality/enhancement
Currently there are two separate function to do this.
Use Cases
The main use case is optimization.
As each of functions: getAgentAccessAll and getPublicAccess generate fetch requests, in order to decrease the amount of such requests in cases when both public access and agents access are needed.
This is particularly important for PODs utilizing WAC access types, because each function call generates 4 server requests, which makes it 8 for one resource to get both public and agents access to that resource, in cases when the application needs to fetch more resources at once, that would drastically increase load times. E.g: to get that info for 10+ resources, that would require to perform 80+ server requests.
Additional information
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the universalAccess module and its getAgentAccessAll and getPublicAccess entry points to understand how each currently fetches access information. Add the requested combined behavior so public and agent access are returned together with fewer requests, and verify that both access rights remain available for a resource.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, authorization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100