Skip to content

feat/spdv 857 handle grantees#43

Draft
nidishk wants to merge 110 commits into
developfrom
SPDV-857-handle-grantees
Draft

feat/spdv 857 handle grantees#43
nidishk wants to merge 110 commits into
developfrom
SPDV-857-handle-grantees

Conversation

@nidishk
Copy link
Copy Markdown
Contributor

@nidishk nidishk commented Jan 5, 2026

🔖 Title
Implement handleGrantees with patch support

📝 Description
This PR implements the handleGrantees method in FileManager, enabling the creation and updating of grantee lists for files. It switches between creating a new grantee list and patching an existing one based on the current state. It also refactors getGrantees to provide more explicit errors when lists are missing.

Changes

  • Implemented handleGrantees logic to check for existing grantee lists.
  • Added logic to diff current grantees against requested recipients to determine add and revoke lists for patchGrantees.
  • Updates local drive state and saves the drive list after successful ACT operations.
  • Updated FileManager interface handleGrantees signature to accept FileInfo and grantees list, aligning with the implementation.

🔗 Related Issues
https://solar-punk.atlassian.net/browse/SPDV-857

🧪 How Has This Been Tested?
✅ Manually tested with Chrome

✅ Checklist
✅ I have performed a self-review of my code

bosi95 and others added 30 commits February 19, 2025 14:24
bosi95 and others added 27 commits November 6, 2025 10:41
* fix: invalid state download detection

* fix: - skip drives init if fetch fails
- allow unusable admin stamp but warn

* fix: remove test:keep command from regular test
- bump up version to v1.0.0
- remove unused share functions
fix/spdv 801 admin stamp capacity check when creating drives
…pare-minus-one

fix: drive init checks for feedindex.minus_one
fix/spdv 801-2 admin stamp capacity check when creating drives
fix/spdv 801 admin capacity check build
* fix:
- revert admin stamp capacity checks
- remove canCreateDrive
- refactor stamp usability in create and init
- do not call saveDriveList if uploading a new version
- add missing: upload drivelist with admin redundancy
- add util functions for optimized metadata size calc.
* add: tests workflow file

* fix: test setup for pnpm and go

* fix: process exit error and cache bee
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

Successfully merging this pull request may close these issues.

2 participants