ShareManager: remove access rules before share.