IronCoreLabs / IronCoreLabs/ironweb

Fix response types to handle missing document encrypted symmetric key

Open
#72 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
2
Avg merge
2d 15h
Merged PRs (30d)
3

Description

A change was made that allows document owners who are not allowed to decrypt a document (created a document and set `grantToAuthor` to false) to still be able to call a GET on the document. This can cause a number of JS errors because we currently assume if you can call document GET, you can also decrypt the document. Update the response types and handle the errors that occur in this situation.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.