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
When an app has Sites.Read.All api permission, it can list all available sites.
But when it has Sites.Selected only and was granted permissions to selected sites
via POST /v1.0/sites/{siteId}/permissions
denysobukh
changed the title
No way to list Sites.Selected collection available for client
No way to list Sites.Selected collection available for application
Jul 23, 2024
Describe the bug
When an app has
Sites.Read.All
api permission, it can list all available sites.But when it has
Sites.Selected
only and was granted permissions to selected sitesvia
POST /v1.0/sites/{siteId}/permissions
There is no way to list these site available to the application:
client.sites().get().getValue();
results 0
results: Access denied
results: Access denied
Expected behavior
Some api call which returns available via
Sites.Selected
How to reproduce
Sites.Selected
permissions to applicationPOST /v1.0/sites/{siteId}/permissions
observe empty result collection
SDK Version
6.10.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: