spicedb

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package spicedb is the former import path of the SpiceDB engine for relationship-based authorization.

Deprecated: use github.com/plexusone/systemforge/authz/rebac/spicedb. The engine is unchanged; only the path moved, so that the authorization modes are named for what they evaluate (rbac, rebac) with the engine beneath its mode. This package forwards to the new one and will be removed in the next major release. Only what existed under this path is forwarded; resource grants and later additions are in authz/rebac/spicedb.

Index

Constants

View Source
const (
	TypePrincipal    = spicedb.TypePrincipal
	TypeOrganization = spicedb.TypeOrganization
	TypeUser         = spicedb.TypeUser
	PermView         = spicedb.PermView
	PermEdit         = spicedb.PermEdit
	PermManage       = spicedb.PermManage
	PermDelete       = spicedb.PermDelete
	PermCreate       = spicedb.PermCreate
	RelOwner         = spicedb.RelOwner
	RelAdmin         = spicedb.RelAdmin
	RelMember        = spicedb.RelMember
	RelCollaborator  = spicedb.RelCollaborator
	RelViewer        = spicedb.RelViewer
	RelContributor   = spicedb.RelContributor
	RelMaintainer    = spicedb.RelMaintainer
	PermList         = spicedb.PermList
)

Deprecated: use the rebac/spicedb package.

View Source
const BaseSchema = authz.BaseSpiceDBSchema

BaseSchema is the base SpiceDB schema.

Deprecated: use authz.BaseSpiceDBSchema, or compose a deployment schema with authz.VocabularyRegistry.ComposeSpiceDBSchema.

Variables

View Source
var (
	NewClient      = spicedb.NewClient
	NewProvider    = spicedb.NewProvider
	NewSyncer      = spicedb.NewSyncer
	DefaultConfig  = spicedb.DefaultConfig
	ResourceSchema = spicedb.ResourceSchema
)

Deprecated: use the rebac/spicedb package.

Functions

This section is empty.

Types

type CheckRequest deprecated

type CheckRequest = spicedb.CheckRequest

Deprecated: use the rebac/spicedb package.

type Client deprecated

type Client = spicedb.Client

Deprecated: use the rebac/spicedb package.

type Config deprecated

type Config = spicedb.Config

Deprecated: use the rebac/spicedb package.

type LookupResourcesRequest deprecated

type LookupResourcesRequest = spicedb.LookupResourcesRequest

Deprecated: use the rebac/spicedb package.

type LookupSubjectsRequest deprecated

type LookupSubjectsRequest = spicedb.LookupSubjectsRequest

Deprecated: use the rebac/spicedb package.

type Provider deprecated

type Provider = spicedb.Provider

Deprecated: use the rebac/spicedb package.

type Relationship deprecated

type Relationship = spicedb.Relationship

Deprecated: use the rebac/spicedb package.

type RelationshipFilter deprecated added in v0.14.0

type RelationshipFilter = spicedb.RelationshipFilter

Deprecated: use the rebac/spicedb package.

type Syncer deprecated

type Syncer = spicedb.Syncer

Deprecated: use the rebac/spicedb package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL