mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
* feat(authz): implement the current usecases in openfga * feat(authz): implement the current usecases in openfga * feat(authz): extract out the schema and DI the same * feat(authz): extract out the schema and DI the same
12 lines
194 B
Go
12 lines
194 B
Go
package authz
|
|
|
|
import (
|
|
"context"
|
|
|
|
openfgapkgtransformer "github.com/openfga/language/pkg/go/transformer"
|
|
)
|
|
|
|
type Schema interface {
|
|
Get(context.Context) []openfgapkgtransformer.ModuleFile
|
|
}
|