Paywall module not working with layout builder

Created on 24 July 2023, over 1 year ago
Updated 18 April 2024, 8 months ago

Problem/Motivation

We are using a Drupal 10 site with few custom content types and we want to hide certain fields of content type for Anonymus users. We are using the role paywall module with content type that is using the layout builder(version 10.1.1) to display the fields, however after applying the paywall configuration the hidden fields are still visible for the Anonymus users. When the layout builder is disabled the paywall module is working as expected.

Steps to reproduce

- Install the role paywall module with a Drupal 10 compatible version.
- Use the layout builder for the Content type in the Manager display section of Content-type.
- Add the role paywall configuration to hide certain fields of content type.

Now the role paywall will not work for the selected content type in the paywall configuration.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇮🇳India mahesh1b

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

Comments & Activities

Production build 0.71.5 2024