Impact
Users who:
- Use the exclusion operator somewhere in their authorization schema.
- Have configured their SpiceDB server such that
--write-relationships-max-updates-per-call is bigger than 6500.
- Issue calls to WriteRelationships with a large enough number of updates that cause the payload to be bigger than what their datastore allows.
Users will:
- Receive a successful response from their
WriteRelationships call, when in reality that call failed.
- Receive incorrect permission check results, if those relationships had to be read to resolve the relation involving the exclusion.
Patches
Upgrade to v.145.2.
Workarounds
Set --write-relationships-max-updates-per-call to 1000.
References
Impact
Users who:
--write-relationships-max-updates-per-callis bigger than 6500.Users will:
WriteRelationshipscall, when in reality that call failed.Patches
Upgrade to v.145.2.
Workarounds
Set
--write-relationships-max-updates-per-callto1000.References