Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CLI query to view statestore app data, scoped by tenant #72

Open
elv-todd opened this issue Aug 19, 2022 · 1 comment
Open

add CLI query to view statestore app data, scoped by tenant #72

elv-todd opened this issue Aug 19, 2022 · 1 comment
Assignees

Comments

@elv-todd
Copy link
Contributor

elv-todd commented Aug 19, 2022

add support for elv-live CLI query to view statestore app data, scoped by tenant. (a tenant admin user using tenant auth.)

./elv-live tenant_appstatestore_query <tenant> <key> [user_address...]

here is a sample usage of app-scoped data in the statestore:

note: this requires the statestore to accept tenant auth before this will work.
see linked issue: https://github.com/qluvio/elv-appservices/issues/2

not a high priority for now, as we can view this data via DB admin privileges, and, I don't think the customer is asking for it yet.

@elv-todd
Copy link
Contributor Author

WWE might not need this if they are simply using the API:

get saved meta

await rootStore.walletClient.ProfileMetadata({
  type: "app",
  mode: "private",
  appId: "itenYQbgk66W1BFEqWr95xPmHZEjmdF",
  key: "user-consent-iq__2FrA2S1XBy4zdRGQn1knakpbrBV4"
})

@elv-todd elv-todd changed the title add command line query to view statestore app data, scoped by tenant add CLI query to view statestore app data, scoped by tenant Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants