Sam
08/15/2022, 6:25 PMconnor
08/15/2022, 8:05 PMentity
and you want to mark it as public, such that all tokens could view the entity, then the schema would be:
defintion entity {
relation public: token:*
}
In the GRPC api, do we just use the *
string in the id field: https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.ObjectReference ?Joey
08/15/2022, 8:07 PMJoey
08/15/2022, 8:07 PMconnor
08/15/2022, 8:08 PMconnor
08/15/2022, 8:08 PMJoey
08/15/2022, 8:12 PMvroldanbet
08/16/2022, 7:08 AMgrpc-health-probe -v -addr localhost:50051
vroldanbet
08/16/2022, 7:59 AMDockerfile.release
which is based on a scratch imageSaturas
08/16/2022, 8:06 AMquay.io/authzed/zed
we want to run it in a gitlab ci and validate the schema, but cant run the script block.vroldanbet
08/16/2022, 8:07 AMauthzed/spicedb:v1.11.0-alpine
but not sure how the team feels about itjzelinskie
08/16/2022, 2:50 PMjzelinskie
08/16/2022, 5:37 PMJoey
08/16/2022, 7:54 PMSaturas
08/16/2022, 7:59 PMLanny
08/17/2022, 12:02 AMJoey
08/17/2022, 12:47 AMLanny
08/17/2022, 1:36 AMSaturas
08/17/2022, 2:51 AMSwant
08/17/2022, 9:53 AMorg:a is parent of org:b
, and user:2 is (direct) member of org:b
, can I somehow make the assertion that user:2 is member of org:a
work?
- if user:1 is admin of org:a
, and user:2 is member of org:a
, can I somehow make the assertion that user:1 is editor of user:2
?
I get the reverse of this working fairly easily, like if org:a is parent of org:b
and user:1 is admin of org:a
then user:1 is admin of org:b
Here's what I've been trying so far: https://play.authzed.com/s/0HQuSR3fu4dY/schemaIgor.Shmukler
08/17/2022, 11:47 AMJoey
08/17/2022, 2:16 PMdefinition org {
relation child: org
relation member: user
permission is_member = member + child->is_member
}
would have is_member
return for the member of the org or any of its child orgsJoey
08/17/2022, 2:17 PMSwant
08/17/2022, 2:32 PMJoey
08/17/2022, 2:36 PMJoey
08/17/2022, 2:46 PMJ Stallard
08/17/2022, 9:33 PMspicedb serve --datastore-bootstrap-files
commands, but when I try and point it to a backing Cockroach database, it errors out with error="failed to create datastore: failed to load bootstrap files: error when loading validation tuples from file ./redrockschema.yaml: unable to write relationships: ERROR: message size 107 MiB bigger than maximum allowed message size 16 MiB (SQLSTATE 08P01)"
. Is there a better way to load up an initial dataset at start time in a timely manner? (Our basic test dataset is going to be closer to 16GB, than it is to 100MB)Jake
08/17/2022, 9:37 PMJake
08/17/2022, 9:37 PMJake
08/17/2022, 9:38 PM