final Session session = credentials.buildSession(userDAO, userId);
final User reader = findUser(readerId);
final Document doc = findDocument(session.getUser(), name);
doc.unlinkUser(reader);
reEncrypt(doc, session.getKeySet());
documentDAO.saveOrUpdate(doc);
return Response.noContent().build();