Exactly. Or, say you're building some business logic and you need to make some exceptions for VIP partners. In times past, you would add these exceptions to a "whitelist" and have logic to check this list and apply the exception. Now, you need to be very careful to call this an "allowlist" lest the woke patrol pull you aside and warn you that your variable name is insensitive and non-inclusive. I wish I was joking.
And yet whatever the origin (I suspect nobody can seriously claim to definitely state the actual origin of such a term) its usage as such a list, not referring (necessarily, but indiscriminately so some might be!) to black people, dates back at least as far as the Restoration in 1660 England.
And there's generally no exception for old things. Like many products, ours almost never permits breaking API changes, but an exception was of course made (at significant cost) to strip out public facing fields named "whitelist".