Project

General

Profile

Actions

Bug #78991

closed

Edit button on page external table view is disabled when user only has edit permission

Added by Johannes Schlier almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-12-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I have a backend user with permissions to view/edit/delete only tt_address records that are present in the web>page module.

The problem is that the page info, which also includes the permissions, is not loaded in the getExternalTables function, only in the getTable_tt_content.
This means that in the following makeOrdinaryList call the test doesUserHaveAccess($this->pageinfo) gets passed null as the parameter, resulting in the bug that permission are always denied, even if they shouldn't be.

Actions #1

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50955

Actions #2

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50955

Actions #3

Updated by Gerrit Code Review almost 8 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50973

Actions #4

Updated by Johannes Schlier almost 8 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF