#75890editor with only read access to page - some interface improvements
Description
Steps to reproduce the issue
1) set up a page where an “editor” BE user has ONLY the “show” permission.
2) translate also the page on an alternative language
3) enter as the editor, go to the page and do the following:
3.1) Switch to “languages” view
RESULT:
see attached file schermata1.png
– the “edit” pencil icons are still present
3.1.1) if you click on the pencil > see attached file schermata2.png
- the error is not much evident (maybe a Bootstrap alert panel would be better)
– the name of the user should be used instead of/altogether with the id
– the name of the page should be used instead of/altogether with the id
– the error number “1437679336” should not be shown – for the editor, it means nothing
– last but not the least, it should be better to not show the pencil at all, I guess.
3.2) Switch to “quickedit” view
RESULT:
see attached schermata3.png
- the error is not much evident (maybe a Bootstrap alert panel would be better)
– if you click on the arrows, nothing happens; again I guess it should be better to not show them at all
Hope I made myself clear enough. have a nice day.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] editor with only read access to page - some interface improvements Resolves: #75890 Releases: main
Related issues 5
- Bug #14238User cannot save existing page if page-type is not allowed by backend-group config
- Bug #73591Page Module: Click menu in content elements missing if editor has only read access
- Task #79364Move page module function `QuickEdit` to EXT:compatibility7
- Task #94629Simplify and optimize the readability of the page module interface
- Bug #105527"Pencil" in page module displayed when page is "Show page" only configured
Files 4
History 14
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2016-10-19T22:02:57+00:00" > 10/19/16, 22:02 </span>
-
Josef Glatz changed description <span data-processor="relativetime" data-value="2017-01-29T13:00:37+00:00" > 01/29/17, 13:00 </span>
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2018-06-12T22:37:14+00:00" > 06/12/18, 22:37 </span>
Same error occurs on 8.7.15 and 9.4.0-dev (latest master)
-
Riccardo De Contardi changed Related to #14238 <span data-processor="relativetime" data-value="2018-07-01T12:33:19+00:00" > 07/01/18, 12:33 </span>
-
Susanne Moog changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2018-10-25T11:40:06+00:00" > 10/25/18, 11:40 </span>
-
Susanne Moog changed Sprint Focus
On Location Sprint<span data-processor="relativetime" data-value="2020-01-12T12:06:39+00:00" > 01/12/20, 12:06 </span> -
Riccardo De Contardi changed parent task #90674 <span data-processor="relativetime" data-value="2020-03-07T17:16:03+00:00" > 03/07/20, 17:16 </span>
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2020-08-28T22:22:20+00:00" > 08/28/20, 22:22 </span>
Still present on 11.0.0-dev (latest master);
- the error is now a Bootstrap alert panel
- the part about “quickedit” view can be ignored (“quickedit” is no more present)I just discovered that even the “translate” dropdown is operable, but – as the editor does not have write permission on the page, another error message is. triggered, but now the page is greyed out with a semitransparent layer and with an infinite loader animation. The editor is stuck in this page; you have to reload the page or the browser to exit it.
-
Riccardo De Contardi changed Related to #94629 <span data-processor="relativetime" data-value="2021-09-17T20:36:43+00:00" > 09/17/21, 20:36 </span>
-
Riccardo De Contardi commented and changed attached Cattura.png <span data-processor="relativetime" data-value="2024-06-08T19:18:41+00:00" > 06/08/24, 19:18 </span>
I repeated my test on TYPO3 13.2.0-dev and these are the results:
- The buttons “1” are still working, but they lead to an alert:
Sorry, you didn't have proper permissions to perform this change. No page edit permission for user 2 on page 795 1437679336
Edit form could not be loaded The edit form could not be loaded for the requested records. This might be due to insufficient permissions.
Again, I think it would be better not to show them at all
- the button 2 works; it opens the usual translation wizard; you can go through all the steps of the wizard, and in the end..nothing happens. No error message, nothing. The translation simply does not create any content element. (tested with both “Translate” and “Copy”)
- if there is still another language to which you can translate the page, the dropdown works, but it leads to an exception:
(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception PHP Warning: Undefined array key "NEW6664ae149ad80280765212" in /var/www/html/typo3/sysext/core/Classes/DataHandling/DataHandler.php line 4899
Same as before: it would be better to hide it
-
Georg Ringer changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2024-06-26T07:23:17+00:00" > 06/26/24, 07:23 </span>
-
Georg Ringer changed status
NewAccepted <span data-processor="relativetime" data-value="2024-06-26T07:24:28+00:00" > 06/26/24, 07:24 </span> -
Riccardo De Contardi changed Related to #105527 <span data-processor="relativetime" data-value="2025-03-24T22:37:17+00:00" > 03/24/25, 22:37 </span>
-
Georg Ringer changed Sprint Focus
On Location Sprint<span data-processor="relativetime" data-value="2026-08-06T15:50:22+00:00" > 08/06/26, 15:50 </span>
same issue for 8.5-dev (latest master)