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

Fix response types to handle missing document encrypted symmetric key #72

Open
ernieturner opened this issue Feb 19, 2020 · 1 comment

Comments

@ernieturner
Copy link
Contributor

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.

@BobWall23
Copy link
Member

Similar to IronCoreLabs/ironoxide#239.

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

No branches or pull requests

2 participants