You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to get the metadata of a document you don't have permission to decrypt, you get an error from serde: serde error was: invalid type: null, expected struct TransformedEncryptedValue. This field should be optional for deserialization.
Test made to show issue:
// create a userlet sdk = initialize_sdk().await?;// create a grouplet group = sdk.group_create(&GroupCreateOpts::default()).await?;// encrypt a document to the group, not to selflet doc_result = sdk
.document_encrypt(&[0u8;64],&DocumentEncryptOpts::with_explicit_grants(None,None,false,vec![group.id().into()]),).await?;// revoke group's access to the document
sdk.document_revoke_access(doc_result.id(),&vec![group.id().into()]).await?;// attempt to get metadata of the document
sdk.document_get_metadata(doc_result.id()).await?;
The text was updated successfully, but these errors were encountered:
When trying to get the metadata of a document you don't have permission to decrypt, you get an error from serde:
serde error was: invalid type: null, expected struct TransformedEncryptedValue
. This field should be optional for deserialization.Test made to show issue:
The text was updated successfully, but these errors were encountered: