fixed bug when new owner has not previous permission on document