Merge "Ensure user can only share documents from allowed users." into rvc-dev am: b89e9a7a0b

Change-Id: I4b6f6248afb1d4211d0e2bb8c2ce737bc3dc3360