adds partials and permissions to new refs