GO-2024-3200 : SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not in github.com/authzed/spicedb
Discover Packages
github.com/authzed/spicedb
pkg
middleware
datastore
package
Version:
v1.36.3
Opens a new window with list of versions in this module.
Published: Sep 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
FromContext reads the selected datastore out of a context.Context
and returns nil if it does not exist.
MustFromContext reads the selected datastore 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.