SpiceDB exclusions can result in no permission returned when permission expected
Package
Affected versions
< 1.33.1
Patched versions
1.33.1
Description
Published to the GitHub Advisory Database
Jun 20, 2024
Reviewed
Jun 20, 2024
Published by the National Vulnerability Database
Jun 20, 2024
Last updated
Nov 18, 2024
Background
Use of an exclusion under an arrow that has multiple resources may resolve to
NO_PERMISSIONwhen permission is expected.For example, given this schema:
If the resource exists under multiple folders and the user has access to view more than a single folder, SpiceDB may report the user does not have access due to a failure in the exclusion dispatcher to request that all the folders in which the user is a member be returned
Impact
Permission is returned as
NO_PERMISSIONwhenPERMISSIONis expected on theCheckPermissionAPI.Workarounds
None
References