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

account needs a way to list contracts / subscribtions with providers #58

Open
Gozala opened this issue Mar 7, 2023 · 0 comments
Open
Milestone

Comments

@Gozala
Copy link
Collaborator

Gozala commented Mar 7, 2023

Right now provider/* protocol defines a how an account can get a provider and then add it to a specific space. However currently there is no way for the account to check what providers has it added to which spaces.

Given that some providers MAY be limited to e.g. one per account (which is currently the case) it is important for the application to be able to tell if it should create a space and arrange provider for it, or not. This is also amplified by the fact that application has no way of distinguishing where access to some space had been delegated by another user, making it difficult to decide if new namespace should be created.

It could optimistically attempt to get a store provider and conclude it has already used space provider if fails, but that does not seem ideal.

I think it would be a good idea to extend provider protocol or define a separate protocol that would allow account to:

  1. List out subscriptions (contracts if you will) like { space, provider }.
  2. Terminate subscription it no longer wishes to have.
@heyjay44 heyjay44 added this to the w3up phase 3 milestone Mar 7, 2023
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

2 participants