mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-29 16:14:42 +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
13 lines
229 B
Plaintext
13 lines
229 B
Plaintext
module base
|
|
|
|
type user
|
|
|
|
type role
|
|
relations
|
|
define assignee: [user]
|
|
|
|
type organisation
|
|
relations
|
|
define admin: [role#assignee]
|
|
define editor: [role#assignee] or admin
|
|
define viewer: [role#assignee] or editor |