Bug #22728

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

Added by Georg Ringer about 5 years ago. Updated almost 2 years ago.

Status:Closed Start date:2010-05-27
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:4.4 Is Regression:No
PHP Version:5.2 Sprint Focus:
Complexity:

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 Magnifier (489 Bytes) Administrator Admin, 2010-05-27 10:18

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

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


Related issues

related to Core - Bug #17203: Access Check for Content Elements before drawing the Inte... Closed 2007-04-12
related to Core - Bug #23241: Frontend Editing edit panels are shown for content elemen... Closed 2010-07-21

History

#1 Updated by Alexander Opitz about 2 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 almost 2 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