ensonic
07/07/2025, 5:50 PM:
instead of =
in a relations) , but not line nr on the error, which is fun on a long fileyetitwo
07/07/2025, 5:52 PMyetitwo
07/07/2025, 6:18 PMschema:
key or with the schemaFile:
key?yetitwo
07/07/2025, 6:18 PMensonic
07/07/2025, 6:43 PMyetitwo
07/07/2025, 7:18 PMArvind
07/08/2025, 6:14 AMRodolfo
07/08/2025, 1:13 PMDominikGuhr
07/09/2025, 10:26 AMDominikGuhr
07/09/2025, 11:59 AMnemosupremo
07/11/2025, 1:59 AMJoey
07/11/2025, 2:19 AMnemosupremo
07/11/2025, 2:20 AMgithub.com/authzed/authzed-go/proto/authzed/api/v0
is the v0 api? we aren't using itnemosupremo
07/11/2025, 2:20 AMJoey
07/11/2025, 2:22 AMJoey
07/11/2025, 2:22 AMensonic
07/14/2025, 12:51 PMgroup
, as a relationship exists under it`. The code is basically doing the same as zed import
(https://github.com/authzed/zed/blob/main/internal/cmd/import.go#L109C6-L109C18).We sporadically saw this error in the logs, but today it just happens on every start of the service. The error is always cannot delete object definition
with with a seemingly random type. We're a bit behind with updates (1.33.1). Any idea why the system believe we want to update an object definiton? The schema has all the definitons as before, so far we only ever added thingsnemosupremo
07/14/2025, 2:55 PMnemosupremo
07/14/2025, 3:00 PMnemosupremo
07/14/2025, 3:07 PMyaroslavb
07/14/2025, 4:43 PMorganization_usergroup
are not allowed on relation `environment#accessor`; did you mean organization_usergroup#member
?""
yaml
defintion solution {
relation launcher: user | organization_usergroup#member
}
java
WriteRelationshipsRequest request = WriteRelationshipsRequest.newBuilder()
.addUpdates(RelationshipUpdate.newBuilder()
.setOperation(RelationshipUpdate.Operation.OPERATION_TOUCH)
.setRelationship(Relationship.newBuilder()
.setResource(ObjectReference.newBuilder()
.setObjectType("solution")
.setObjectId(solutionId)
.setRelation("launcher")
.setSubject(SubjectReference.newBuilder()
.setObject(ObjectReference.newBuilder()
.setObjectType("organization_usergroup")
.setObjectId(targetUserGroupId))
.setOptionalRelation("member"))))
.build();
Bharat
07/14/2025, 5:11 PMGeorge Tsopouridis
07/15/2025, 6:45 AMBenedikt (Flowers-Software)
07/16/2025, 11:31 AMdefinition user {}
definition team {
relation member: user
}
definition folder {
relation admin: user | team#member
permission create_file = admin
}
definition file {
relation parent: folder
relation editor: user | team#member
permission edit = parent->create_file + editor
}
can i save the zedtokens on the file level?
Will it handle changes to the folder#admin relation / team#member relation?yetitwo
07/16/2025, 4:15 PMyetitwo
07/16/2025, 4:15 PMyetitwo
07/16/2025, 4:16 PMyetitwo
07/16/2025, 4:16 PMyetitwo
07/16/2025, 4:17 PMcyborg
07/17/2025, 8:39 AM