Function share_grants
pub fn share_grants(
workspace: &str,
sharer: &str,
share: &str,
node: &TreePath,
access: ShareAccess,
) -> Result<Vec<Grant>, ShareRefusal>Expand description
The grants sharer gives the workspace workspace by sharing node with
access, under the share id share (unique per share, such as the id of
the message that shares it).
ยงErrors
ShareRefusal::Id for a malformed id and ShareRefusal::Node for a
node that is not one record or one item of it in workspace.