GO-2026-5133 : SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected in github.com/authzed/spicedb
Discover Packages
github.com/authzed/spicedb
pkg
middleware
datalayer
package
Version:
v1.53.0
Opens a new window with list of versions in this module.
Published: May 11, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package datalayer defines middleware that injects the datalayer into the context.
FromContext reads the selected DataLayer out of a context.Context
and returns nil if it does not exist.
MustFromContext reads the selected DataLayer out of a context.Context, computes a zedtoken
from it, and panics if it has not been set on the context.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.