#84335LiveSearch: Cannot read property 'options' on undefined
Description
Switching to a user without any privilege leads to the JavaScript error `Cannot read property ‘options’ on undefined`. This was fixed some time ago, but re-introduced with the migration to TypeScript.