Bug #22728

Icon "Create new record in top of column" displayed even with no rights

Added by Georg Ringer almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-05-27
Due date:
% Done:

0%

TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The icon and link "Create new record in top of column" in the page module is displayed even if the editor has no rights to create/change content elements.

The control panel of each record is hidden correctly by using the extended check which should be used at the other place too.

(issue imported from #M14493)

14493-create-new-ce.patch View (489 Bytes) Administrator Admin, 2010-05-27 10:18

14493-create-new-ce_before.gif View (19.7 KB) Administrator Admin, 2010-05-27 10:18

14493-create-new-ce_after.gif View (18.6 KB) Administrator Admin, 2010-05-27 10:18


Related issues

Related to TYPO3 Core - Bug #17203: Access Check for Content Elements before drawing the Interface Closed 2007-04-12
Related to TYPO3 Core - Bug #23241: Frontend Editing edit panels are shown for content element types that cannot be edited Closed 2010-07-21

History

#1 Updated by Alexander Opitz over 6 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

Hi Georg,

the line from your patch

if ($this->tt_contentConfig['showCommands'] && $this->doEdit) {

is in function tt_content_drawHeader and in function tt_content_drawColHeader it is handled with an extra $editParams parameter.
So the base of this patch is done.

On the other side there are other areas (like dropzone) which shows an add icon if you do not have the rights to do so.

So can we close this issue?

#2 Updated by Alexander Opitz over 6 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No response in over 3 month so closing this issue.

If you think this issue should be reopened, then write to the bugs mailing list.

Also available in: Atom PDF