Feature #36945

enable TCEFORM.table.field.config.readOnly = 1

Added by Dimitri Koenig about 1 year ago. Updated 11 months ago.

Status:Resolved Start date:2012-05-08
Priority:Should have Due date:
Assignee:- % Done:

100%

Category:Backend User Interface
Target version:-
TYPO3 Version:6.0 Complexity:
PHP Version:
Votes: 0

Description

In t3lib_tceforms::t3lib_TCEforms() you have a whitelist definition that allows tca field configuration to be overridden by TSconfig => allowOverrideMatrix

But it does not allow to define readOnly for some fields.

It's needed for the following scenario:
  • A Backend User should not have access to a certain field
  • When he does not have access rights to this certain field he cannot copy a page with the content of this field.
  • He must have access to this field but without permissions to write.

30-6-2012_14-36-55.png (2.1 kB) Wouter Wolters, 2012-06-30 14:37

Associated revisions

Revision 1d3dbf18
Added by Dimitri Koenig 11 months ago

[FEATURE] Enable TCEFORM.table.field.config.readOnly = 1

In t3lib_tceforms::t3lib_TCEforms() you have a whitelist
definition that allows tca field configuration
to be overridden by TSconfig => allowOverrideMatrix

To enable readOnly for certain fields this whitelist
must be extended by this option.

Change-Id: Ibda9cbb196961b9ef40d6016e6e66ceba495b5c9
Fixes: #36945
Releases: 6.0
Reviewed-on: http://review.typo3.org/11072
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

Revision 5633b28a
Added by Dimitri Koenig 10 months ago

[FEATURE] Enable TCEFORM.table.field.config.readOnly = 1

In t3lib_tceforms::t3lib_TCEforms() you have a whitelist
definition that allows tca field configuration
to be overridden by TSconfig => allowOverrideMatrix

To enable readOnly for certain fields this whitelist
must be extended by this option.

Change-Id: Ibda9cbb196961b9ef40d6016e6e66ceba495b5c9
Fixes: #36945
Releases: 6.0
Reviewed-on: http://review.typo3.org/11072
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

History

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11072

Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11072

Updated by Wouter Wolters 11 months ago

Image to see it works:)

Updated by Dimitri Koenig 11 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF