You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to create a store either from a file or scratch while specifying the store-id.
I'd like to be able to specify the store id during creation so that the entire configuration and secret management for setting up openfga can be set prior to deployment.
I've seen that store-id can be specified for the openfga CLI fga store import command, however specifying the store id with --store-id leads to the store not being created at all.
e.g. fga store import --file test-store.yaml --store-id 01HYHGP755KA1BQMBR568RVKKV
# test-store.yamlname: test-storemodel: |+ model schema 1.1 type user type group relations define member: [user] type folder relations define can_create_file: owner define owner: [user] define parent: [folder] define viewer: [user, user:*, group#member] or owner or viewer from parent type doc relations define can_change_owner: owner define can_read: viewer or owner or viewer from parent define can_share: owner or owner from parent define can_write: owner or owner from parent define owner: [user] define parent: [folder] define viewer: [user, user:*, group#member]tuples: []tests:
- name: Testscheck: []
fga store list
{
"continuation_token":"",
"stores": []
}
It would also be nice to se a --store-id parameter added to the fga store create command.
e.g. fga store create --name test-store --model test-model.fga --store-id 01HYHGP755KA1BQMBR568RVKKV
The text was updated successfully, but these errors were encountered:
The fact that you can specify store-id in fga store import is a bug. As you've seen, we don't use that store id, because we can't set it.
We understand the value of being able to easily know the store_id / model_id for configuration management, but we haven't been able to work on this problem yet.
This is very essential when using docker compose and setting up some init scripts.
There should be a way to determine the store id so that it can be passed as env variable to other services.
I'm unable to create a store either from a file or scratch while specifying the store-id.
I'd like to be able to specify the store id during creation so that the entire configuration and secret management for setting up openfga can be set prior to deployment.
I've seen that store-id can be specified for the openfga CLI fga store import command, however specifying the store id with
--store-id
leads to the store not being created at all.e.g.
fga store import --file test-store.yaml --store-id 01HYHGP755KA1BQMBR568RVKKV
fga store list
It would also be nice to se a
--store-id
parameter added to the fga store create command.e.g.
fga store create --name test-store --model test-model.fga --store-id 01HYHGP755KA1BQMBR568RVKKV
The text was updated successfully, but these errors were encountered: