Bug #87687

Content elements cannot be added when page editing is disabled

Added by Helmut Hummel 5 months ago. Updated 17 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2019-02-11
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When disabling page editing for editors with access module, new content elements
cannot be created.

This is due to the fact, that some JS AMD module (PageActions) is bound to page edit permissions, while it
meanwhile holds functionality that is independent from page edit permissions (like creating new content elements, show hidden elements and so on)


Related issues

Related to TYPO3 Core - Bug #88532: New Content Element wizard broken Resolved 2019-06-08

Associated revisions

Revision 1b37fb72 (diff)
Added by Helmut Hummel 2 months ago

[BUGFIX] Allow adding content without page edit permissions

Resolves: #87687
Releases: master, 9.5
Change-Id: I8113f3fa2facf6b21bc19ee1c445265c5ff4f4b4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59872
Tested-by: TYPO3com <>
Tested-by: Tobi Kretschmann <>
Tested-by: Steffen Frese <>
Reviewed-by: Steffen Frese <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Tobi Kretschmann <>

Revision 1703acca (diff)
Added by Helmut Hummel 17 days ago

[BUGFIX] Allow adding content without page edit permissions

Resolves: #87687
Releases: master, 9.5
Change-Id: I8113f3fa2facf6b21bc19ee1c445265c5ff4f4b4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60737
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Andreas Fernandez <>

Revision 0d69e757 (diff)
Added by Andreas Fernandez 17 days ago

[BUGFIX] Allow adding content without page edit permissions in record list

If a backend usergroup has no permission to edit page properties, the
wizard for content element creation is not rendered properly. This is due
to a missing import of the `PageActions` module.

This patch now always loads the module and makes its callback depending
on proper permissions.

Resolves: #88532
Related: #87687
Releases: master, 9.5
Change-Id: Ie3acaf8fbf9bdeee425eae4b4d35cb2eb80b4d1d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60907
Tested-by: Anja Leichsenring <>
Tested-by: Markus Klein <>
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Anja Leichsenring <>
Reviewed-by: Markus Klein <>
Reviewed-by: Andreas Fernandez <>

Revision e85c77c7 (diff)
Added by Andreas Fernandez 17 days ago

[BUGFIX] Allow adding content without page edit permissions in record list

If a backend usergroup has no permission to edit page properties, the
wizard for content element creation is not rendered properly. This is due
to a missing import of the `PageActions` module.

This patch now always loads the module and makes its callback depending
on proper permissions.

Resolves: #88532
Related: #87687
Releases: master, 9.5
Change-Id: Ie3acaf8fbf9bdeee425eae4b4d35cb2eb80b4d1d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60908
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Andreas Fernandez <>

History

#1 Updated by Helmut Hummel 5 months ago

PageActions.ts needs to be separated into functionality that requires page edit permissions and other general functionality.

#3 Updated by Susanne Moog 4 months ago

  • Category set to Backend JavaScript

#4 Updated by Gerrit Code Review 4 months 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/c/Packages/TYPO3.CMS/+/59872

#5 Updated by Helmut Hummel 2 months ago

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

#6 Updated by Benni Mack about 2 months ago

  • Status changed from Resolved to Closed

#7 Updated by Stefan Hekele about 2 months ago

The patch has not been applied to 9.5 branch.
Current version 9.5.6 is still broken.

#8 Updated by Gerrit Code Review about 1 month ago

  • Status changed from Closed to Under Review

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

#9 Updated by Helmut Hummel 17 days ago

  • Status changed from Under Review to Resolved

#10 Updated by Andreas Fernandez 17 days ago

  • Related to Bug #88532: New Content Element wizard broken added

Also available in: Atom PDF