Ryan De Lap
10/22/2025, 5:48 AMzed schema write schema/schema.zed --endpoint localhost:50051 --insecure --token=devkey and returning with error code 0 but when I run this I am getting nothing back?
it:(main) ✗ zed schema read --endpoint localhost:50051 --insecure --token=devkey
12:48AM ERR terminated with errors error="rpc error: code = NotFound desc = No schema has been defined; please call WriteSchema to start"
➜ ryan-repository-testing git:(main) ✗Ryan De Lap
10/22/2025, 5:48 AMSohan
10/22/2025, 9:32 AMzed context list ?Ryan De Lap
10/22/2025, 3:28 PMRyan De Lap
10/22/2025, 3:33 PMRyan De Lap
10/22/2025, 3:41 PMRyan De Lap
10/22/2025, 3:41 PMRyan De Lap
10/22/2025, 3:47 PM➜ ryan-repository-testing git:(main) ✗ zed schema read
10:47AM ERR terminated with errors error="rpc error: code = NotFound desc = No schema has been defined; please call WriteSchema to start"
My instance is giving me
{"level":"info","protocol":"grpc","grpc.component":"server","grpc.service":"authzed.api.v1.SchemaService","grpc.method":"WriteSchema","grpc.method_type":"unary","requestID":"d3sfo5pk1etc73epke9g","peer.address":"172.18.0.1:50452","grpc.start_time":"2025-10-22T15:45:27Z","grpc.code":"OK","grpc.time_ms":3,"time":"2025-10-22T15:45:27Z","message":"finished call"}
`Joey
10/22/2025, 3:52 PMJoey
10/22/2025, 3:52 PMRyan De Lap
10/22/2025, 3:53 PMRyan De Lap
10/22/2025, 3:53 PMJoey
10/22/2025, 3:53 PMRyan De Lap
10/22/2025, 3:53 PMRyan De Lap
10/22/2025, 3:53 PMJoey
10/22/2025, 3:54 PMJoey
10/22/2025, 3:54 PMRyan De Lap
10/22/2025, 3:55 PMRyan De Lap
10/22/2025, 3:55 PMmparnisari
10/22/2025, 11:27 PMRyan De Lap
10/23/2025, 11:16 PMJoey
10/24/2025, 5:04 AMPablo
10/24/2025, 2:56 PM--enable-revision-heartbeat compatible with --datastore-readonly ? Thanks 🙂Joey
10/24/2025, 3:35 PMsrinivas183
10/27/2025, 12:41 PMthackerc
10/28/2025, 2:57 PMcreate_issue under definition `repository`: permissions cannot be used on the left hand side of an arrow (found org_grants)` error. Suggestions?
definition user {}
definition team {
relation member: user
}
definition org {
relation direct_grants: role_grant
// permissions
permission create_issue = direct_grants->create_issue
permission delete_issue = direct_grants->delete_issue
// export
permission grants = direct_grants
}
definition repository {
// imports
permission org_grants = org->grants
// belongs to exactly one
relation org: org
// grants
relation direct_grants: role_grant
// permissions
permission create_issue = direct_grants->create_issue + org_grants->create_issue
permission delete_issue = direct_grants->delete_issue + org_grants->delete_issue
}
// Definition of role grants
// A role grant assigns the permissions of a role to a user or team
definition role_grant {
relation role: role
relation grantee: user | team#member
permission create_issue = role->create_issue & grantee
permission delete_issue = role->delete_issue & grantee
}
// Definition of roles
// Each role defines a set of permissions that can be granted to users or teams
definition role {
relation create_issue: user:*
relation delete_issue: user:*
}chrisio.9000
10/28/2025, 3:19 PMJoey
10/28/2025, 3:28 PMchrisio.9000
10/28/2025, 3:56 PMJoey
10/28/2025, 4:01 PM