Add an option to lock rows on a per field basis

Created on 14 December 2022, over 2 years ago
Updated 15 February 2025, about 2 months ago

Problem/Motivation

When a user is given the permission to add rows, they can add rows to all tablefields of an entity.

Steps to reproduce

1. Add two or more tablefields to an entity.
2. Give the user the addrow tablefield permission.
3. New rows can be added to all tablefields.

Proposed resolution

Add an option to the field settings to lock rows. This way each field can be configured separately.

The solution provided by the patch is non intrusive and should be fully backwards compatible.
The new behaviour has to be opted into.

Remaining tasks

Review the patch, maybe write some tests (someone other than me...sorry, no time).

User interface changes

New checkbox in the field settings form.

API changes

None

Data model changes

The configuration schema has a new boolean setting.

The patch can also be applied to the current stable (8.x-2.3) version

โœจ Feature request
Status

Needs work

Version

3.0

Component

User interface

Created by

๐Ÿ‡ญ๐Ÿ‡บHungary karol haltenberger

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

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