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

Maintain a mapping of the DID that owns each database #4

Open
tahpot opened this issue Oct 7, 2021 · 1 comment · Fixed by #14
Open

Maintain a mapping of the DID that owns each database #4

tahpot opened this issue Oct 7, 2021 · 1 comment · Fixed by #14
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@tahpot
Copy link
Member

tahpot commented Oct 7, 2021

We need to add the following endpoints to the storage-node API:

  • databases() - Allow a DID to fetch a list of all databases they own
  • databaseInfo(dbName) - Fetch information about a database. This information should include; human readable name, permissions, number of records, total database size

The following information needs to be stored for each database when it is created or it's permissions updated:

  • human readable name
  • permissions

Once implemented it will enable a path to the following technical capabilities:

  • In client-ts fetch full database permissions for any databases you control (ie: list of read/write DID's -- they are currently obfuscated)
  • Enable payment based on resource utilization
  • Modify database permissions (read, write, delete) rather than overriding them every time.
  • Synconrizing all databases owned by a particular DID
  • Deleting all databases owned by a particular DID
@tahpot tahpot self-assigned this Oct 7, 2021
@tahpot tahpot added the enhancement New feature or request label Nov 22, 2021
@tahpot
Copy link
Member Author

tahpot commented Sep 2, 2022

This is now complete and included in #14

@ysam21 ysam21 closed this as completed Sep 6, 2022
@ysam21 ysam21 reopened this Sep 6, 2022
@tahpot tahpot added this to the v2.0.0 milestone Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants