Actions
Bug #76036
closedPage module lacks "new content" button if page has no edit permission for group
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2016-05-03
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:
On Location Sprint
Description
Setup:
Page with owner "admin" and group "editors".
Permissions:
- all for owner
- only show and edit content for group
- others none
A normal user (belonging to the editors group) sees no "+ Content" buttons in the Page module view.
Adding content via list module works.
The reasons is calling $this->getPageLayoutController()->pageIsNotLockedForEditors()
in typo3/sysext/backend/Classes/View/PageLayoutView.php:527, which involves a check for $this->CALC_PERMS & Permission::PAGE_EDIT
.
This is wrong for content editing.
Actions