Open poovamraj opened 10 months ago
I would also love a fga model test --upload
command to upload the assertions into the playground
Hey all, when we are talking about importing assertions, it is only the check assertions
right? since that is the only type that can be created/accessed from the playground.
Yes, you'd convert check tests to assertions.
Yes, you'd convert check tests to assertions.
Yes, but then there are other assertion types too like the listObjects
and listUsers
assertions. Do we import them too
WriteAssertions
API only supports check assertions. Should we do this first and support the other types of assertions too?No, they should be ignored for now. We should only import assertions for Check
Currently we support importing a store file using
fga import store --file=store.fga.yaml
But this doesn't import the assertions present along with the store.
Importing the assertions can be helpful to be accessed from the playground and do the checks.