fixes #6015 Error when setting permissions on Employee Structure