You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion! It is on our roadmap to handle caching more gracefully anyway, because the issue you are experiencing here actually applies to a lot of use cases where the same resources are fetched multiple times in a short time frame. I'll update this as we move forward, but unfortunately we already have quite a lot on our plate so I'm not committing to any date for this in particular :).
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
The text was updated successfully, but these errors were encountered: