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
- Variables
- type CheckRequestdeprecated
- type Clientdeprecated
- type Configdeprecated
- type LookupResourcesRequestdeprecated
- type LookupSubjectsRequestdeprecated
- type Providerdeprecated
- type Relationshipdeprecated
- type RelationshipFilterdeprecated
- type Syncerdeprecated
Constants ¶
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.
const BaseSchema = authz.BaseSpiceDBSchema
BaseSchema is the base SpiceDB schema.
Deprecated: use authz.BaseSpiceDBSchema, or compose a deployment schema with authz.VocabularyRegistry.ComposeSpiceDBSchema.
Variables ¶
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 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 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.