Vikrant Gupta 0c25de9560
feat(authz): build authz service (#9064)
* feat(authz): define the domain layer

* feat(authz): added openfga schema and split the enterprise code

* feat(authz): revert http handler

* feat(authz): address comments

* feat(authz): address comments

* feat(authz): typo comments

* feat(authz): address review comments

* feat(authz): address review comments

* feat(authz): update the oss model

* feat(authz): update the sequential check
2025-09-17 21:35:11 +05:30

14 lines
244 B
Plaintext

module base
type user
type role
relations
define assignee: [user]
type organisation
relations
define create: [role#assignee]
define read: [role#assignee]
define update: [role#assignee]
define delete: [role#assignee]