fix for permissions in search view