ECMS-4824: Cannot select any permission when creating new script