mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 22:37:55 -05:00
Under IAM enforcement an Identity Store request was checked on arn:aws:identitystore::<caller>:identitystore/<id>, whatever account's IAM Identity Center instance holds the store, so another account of its organization reading it was checked on a store of its own account, and a grant there reached it. Every ARN names the account owning its resource. Identity Store's lookup now answers the store's ARN in the account whose instance holds it (SsoAdminService.identityStoreOwner), which the reader already asks a service for for a resource filled from one member, so the request is checked on the store where it is. A store no instance holds keeps the caller's account, as before. No generator or table change. The lookup a store's owner takes remembers a store no instance holds, so a request naming one again does not look through every account's instances again; the record empties whenever an instance is written and on reset, as only those make a store held that was not, and starts over past 10,000 stores.