Skip to content

function in universalAccess module to fetch both public access and all agents access #1657

@AyazDyshin

Description

@AyazDyshin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions