Open Sharing
Note The user’s account must be assigned a privilege set that permits changes to sharing settings, or this script step will not be performed. (Select Run script with full access privileges to enable the script for all users.)