Joey
09/19/2022, 5:19 PMIgor.Shmukler
09/19/2022, 5:19 PMDeleteRelationships
for NodeJS, and could not find one.
Wrote something myself - please see below. Does it look right?
const deleteRelationships = v1.DeleteRelationshipsRequest.create({
relationshipFilter: v1.RelationshipFilter.create({
resourceType: kind,
optionalResourceId: id,
optionalRelation: role,
optionalSubjectFilter: v1.SubjectFilter.create({
subjectType: 'user',
optionalSubjectId: user
})
})
});
Joey
09/19/2022, 5:19 PMJoey
09/19/2022, 5:20 PMSingha1
09/19/2022, 5:40 PMradmongoose
09/19/2022, 5:40 PMJoey
09/19/2022, 5:40 PMJoey
09/19/2022, 5:40 PMJoey
09/19/2022, 5:41 PMSingha1
09/19/2022, 5:42 PMJoey
09/19/2022, 5:43 PMSingha1
09/19/2022, 5:43 PMradmongoose
09/19/2022, 5:59 PMJoey
09/19/2022, 6:00 PMsymion
09/20/2022, 2:36 PMJoey
09/20/2022, 2:38 PMAlex J
09/20/2022, 2:59 PMzed
tool, but when i'm running it I get Error: token does not exist
no matter what are my input. I used that command without trouble previously but I recently switched to a new machine and it doesn't seem to be working. I'm on an m1 mac and I just installed zed with homebrew. Do you have an idea of the problem? Thanks 🙂Joey
09/20/2022, 3:00 PMAlex J
09/20/2022, 3:02 PMzed context set test localhost:50051 my_super_token --insecure
Joey
09/20/2022, 3:04 PMzed context list
show?Alex J
09/20/2022, 3:08 PMError: config did not exist
. I manually deleted it (in ~/.zed/) after I got the same error and tried to reinstall the homebrew package but apparently it's still missing. What would be the proper way to re-create it?Joey
09/20/2022, 3:13 PMjzelinskie
09/20/2022, 3:48 PMzed use
or zed context use
I think will bring it backjzelinskie
09/20/2022, 3:49 PMAlex J
09/20/2022, 3:51 PMjzelinskie
09/20/2022, 3:51 PMzed context set
?Alex J
09/20/2022, 3:55 PMError: token does not exist
. I'm currently looking into the code (I checked out the latest) and what seems to happen is that the token is not properly set in the keychain in the KeychainSecretStore.Put so when it tries to read it back right after this call it failsAlex J
09/20/2022, 3:56 PMjzelinskie
09/20/2022, 3:56 PMjzelinskie
09/20/2022, 3:56 PM