Add permissions for https urls.
Update for shared code changes.