Issue Bug Accepted Stale

#75890editor with only read access to page - some interface improvements

Riccardo De Contardi 04/24/16, 10:02 updated 08/06/26, 15:50

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

Files 4

History 14

  1. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2016-10-19T22:02:57+00:00" > 10/19/16, 22:02 </span>

    same issue for 8.5-dev (latest master)

  2. 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)

  3. 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.

  4. 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:

    Cattura.png

    - 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