Skip to content

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

@ernieturner

Description

@ernieturner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions