Merge "Revert "Adds missing permission annotation to HubEndpointSession"" into main