[TYPO3-team-templavoila] RFC: #11550: "Create reference" button of a content element isn't visible for users without write access
Stig Nørgaard Færch
snf at dkm.dk
Fri Mar 26 09:57:52 CET 2010
Hey guys,
This is a SVN patch request.
Type: Bugfix
Bugtracker Reference: http://bugs.typo3.org/view.php?id=11550
Branches: trunk
Problem:
When page permission is set only to 'View page', the copy icon is
visible, but not the icon for reference an element.
Solution:
Add 'ref' to the list of allowed icons:
- $titleBarRightButtons =
$this->clipboardObj->element_getSelectButtons($parentPointer, 'copy');
+ $titleBarRightButtons =
$this->clipboardObj->element_getSelectButtons($parentPointer, 'copy,ref');
diff added to the bug-report.
Thanks!
Stig
More information about the TYPO3-team-templavoila
mailing list