While being inside a panorama, click the lock icon next to the panorama name. This will open the settings panel with the access restrictions section.
Choose the view and edit permissions. If you’d like only some users to view or edit the panorama, select them underneath and then click “save”.
Take a look at the screenshot below: