-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: access/delegate checks hasStorageProvider(space) in a way that p…
…rovider/add allows access/delegate (#483) Motivation: * #393 * [discovered](https://filecoinproject.slack.com/archives/C02BZPRS9HP/p1678146419356999?thread_ts=1678146205.801039&cid=C02BZPRS9HP) while testing https://observablehq.com/d/95bfec64fbb3c2d1@421 This makes it so that `access/delegate` will detect that a storage provider has been registered with a space via `provider/add`. Previously it would only allow spaces who had completed a `voucher/redeem` flow. Now it will support both. In the long run we will disable the `voucher/redeem` part.
- Loading branch information
Showing
2 changed files
with
103 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters