Items marked not marked as 'Allow adding to library' can be added to library

Created on 25 October 2019, about 5 years ago
Updated 20 August 2024, 4 months ago

Problem/Motivation

It is possible to add all Paragraph Type bundles directly via /admin/content/paragraphs/add/default (ie, the Paragraph Library list) even if the 'Allow adding to library' box is unticked.

Eg, Paragraph Type bundle configuration here:

Yet still shows up:

Proposed resolution

Prevent using Paragraph Type bundles on the /admin/content/paragraphs/add/default page that are not allowed.

Remaining tasks

Provide patch (coming shortly).

User interface changes

The number of options on the "Add paragraphs library item" form will be reduced.

API changes

None.

Data model changes

None.

Release notes snippet

When adding a Paragraph Library item directly via the library, now only Paragraph Type bundles marked as 'Allow adding to library' will be allowed.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Module: Library

Created by

πŸ‡¬πŸ‡§United Kingdom scott_euser

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