#[Q] Expand API fields

1 messages ยท Page 1 of 1 (latest)

restive scarab
#

@amber ledge you can basically leave action field empty as โ€œโ€. Also its important to note that, Expand will retrieve users whom have access to specific entity but its not designed for access check. Expand request is expensive to make also has high latency when compared with standart check request.

amber ledge
#

right ... I am aware.
I need to show a page like that

restive scarab
#

Got it, expand can be used in here ๐Ÿ‘๐Ÿป

#

@amber ledge Actually it may vary how you use schema, so if the request is "which users have access to organization:1" and then you planned to show this list, expand fits for this case. But you want to specifically check which users can access repository:1 then you need to make requests for each list item and using expand not ideal.