Replace use of whitelist/blacklist in the path_alias module

Created on 12 June 2020, over 4 years ago
Updated 12 September 2024, 2 months ago

Problem/Motivation

Lets remove usage of "blacklist" and "whitelist" in the path alias module.

They are:

  • An historic bad labelling of people
  • Provide no context: "what is listed in them"?

Proposed resolution

  • 'path_alias.whitelist' -> path_alias.prefix_list
  • AliasWhitelistInterface -> AliasPrefixListInterface
  • AliasWhitelist -> AliasPrefix
  • AliasManager::$whitelist protected member -> AliasManager::$pathPrefixes
  • Update tests

Remaining tasks

Deprecate pathAliasWhitelistRebuild -> pathAliasPrefixListRebuild
Add tests for deprecations
Reviews, refinements
Commit

User interface changes

None

API changes

@todo

Data model changes

@todo

Release notes snippet

@todo

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Other 

Last updated about 12 hours ago

Created by

🇬🇧United Kingdom alexpott 🇪🇺🌍

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024