Fixes user and owner permissions for viewing a restaurant