Actions
Bug #78991
closedEdit button on page external table view is disabled when user only has edit permission
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