openfga

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigSchema = map[string]*schema.Attribute{
	"api_url": {
		Type: schema.TypeString,
	},
	"api_token": {
		Type: schema.TypeString,
	},
	"store_id": {
		Type: schema.TypeString,
	},
	"authorization_model_id": {
		Type: schema.TypeString,
	},
}

Functions

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Types

type CheckPermissionRow

type CheckPermissionRow struct {
	UserId     string
	Relation   string
	ObjectType string
	ObjectId   string
	Allowed    bool
	CheckedAt  time.Time
}

Jump to

Keyboard shortcuts

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