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

chore(main): release access 4.0.0 #130

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

hugomrdias
Copy link
Contributor

@hugomrdias hugomrdias commented Oct 27, 2022

🤖 I have created a release beep boop

4.0.0 (2022-11-01)

⚠ BREAKING CHANGES

Features

Bug Fixes


This PR was generated with Release Please. See documentation.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 27, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 89fd9ea
Status: ✅  Deploy successful!
Preview URL: https://15664438.ucan-protocol.pages.dev
Branch Preview URL: https://release-please--branches--ma-sudd.ucan-protocol.pages.dev

View logs

@hugomrdias hugomrdias force-pushed the release-please--branches--main--components--access branch from 31a2ebf to bfacf74 Compare October 27, 2022 17:03
@hugomrdias hugomrdias force-pushed the release-please--branches--main--components--access branch from bfacf74 to 89fd9ea Compare November 1, 2022 12:14
@alanshaw alanshaw merged commit 5186190 into main Nov 1, 2022
@alanshaw alanshaw deleted the release-please--branches--main--components--access branch November 1, 2022 14:06
@hugomrdias
Copy link
Contributor Author

gobengo pushed a commit that referenced this pull request Apr 11, 2023
🤖 I have created a release *beep* *boop*
---


##
[4.0.0](access-v3.1.2...access-v4.0.0)
(2022-11-01)


### ⚠ BREAKING CHANGES

* Remove 0.8 caps and add account delegation to the service (#123)

### Features

* add cancel create account
([#132](#132))
([0336116](0336116))
* Remove 0.8 caps and add account delegation to the service
([#123](#123))
([c3c58b9](c3c58b9)),
closes [#117](#117)
[#121](#121)


### Bug Fixes

* throw error or return value
([#131](#131))
([c9abfb9](c9abfb9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
fforbeck added a commit that referenced this pull request Sep 20, 2024
# Add `shareSpace()` Method to Allow Sharing Spaces with Other Accounts

## Summary

This PR introduces a new `shareSpace()` method that allows users to
delegate access to an existing space with another Storacha account via
email. This feature enhances collaboration by enabling multiple accounts
to share access to a space, making data sharing more flexible.
By default, the following capabilities/permissions are set:
- space/* - for managing space metadata
- store/* - for managing stores
- upload/*- for registering uploads
- access/* - for re-delegating access to other devices
- filecoin/* - for submitting to the filecoin pipeline
- usage/* - for querying usage

## Changes

### New Feature: **Space Sharing**

- **Added `shareSpace()` Method**:
- The `shareSpace()` method allows users to share an existing space with
another Storacha account by delegating access to the specified email
address.
  - The method takes in the following options:
    - `space`: The space to be shared, identified by its DID.
- `delegateEmail`: The email address of the account to share the space
with.
  - The sharing process involves:
1. **Creating a delegation for the delegate account**: This ensures that
the delegate has access to the space.
2. **Delegating access**: Space access is delegated to the provided
email account, allowing the delegate to manage and access the space.
- If the sharing process fails, the method throws an error detailing the
issue.


## How to Test

1. Run the following commands:
```bash
npm run build && npm run test
```
2. Ensure all existing tests pass.

3. Verify that the new test cases for the `shareSpace()` method function
correctly.

## Related Issues

- [Issue #130](storacha/project-tracking#130):
Enable space sharing between accounts.

## Additional Notes

This implementation opens the door for future enhancements, such as
specifying different permission levels when sharing spaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove pre 0.9 caps and api code
2 participants