Allow to togle between allow-list and block-list

Created on 6 October 2022, about 2 years ago
Updated 8 July 2024, 5 months ago

Problem/Motivation

Currently this module only provides an allowlist. This is great if you want to provide a short list of options to the editor. But sometimes it would be better to provide a block-list instead of an allow-list.

Use case 1:
There are many config options, but the site builder only wants to filter out a few, dangerous settings. While technically possible with an allow-list, it could become a tedious process if there are very many options and you have to select them all one by one.

Use case 2:
The site builder wants all new config instances to be available by default. This is currently not possible, you have to change every field after adding a new config.

Proposed resolution

Add a boolean toogle "Include the selected types" / "Exclude the selected types"

This FR is inspired by the Paragraphs module, which has a this functionality (blocking or allowing paragraph bundles in the host ERR field settings)

πŸ“Œ Task
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria hudri Austria

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