CHANGE: Revert language change. Changed hasPermission to use local string instead
        of referring to language.