Documentation
¶
Overview ¶
Package viewerpolicy fences authorization snapshots against durable policy writes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChanged = errors.New("viewer policy changed")
Functions ¶
func CheckSharedConfigVersion ¶
CheckSharedConfigVersion rechecks the exact version captured by a held config policy lease using the same transaction that already fenced the durable viewer-policy epoch. A clustered caller must not substitute a separate pooled connection or silently ignore missing schema/errors. The epoch trigger on clusterconfig_shared prevents a writer from committing a new shared version while that fence is held. This is not authorization.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.