What additional privileges does the Editor and Contributor tab require to insert and paste into content?

In Plone 4, I made the Contributor user and Editor, but not the manager. I would like this user to be able to copy and paste any Plone object into the "Content" tab of the Plone interface.

Unfortunately, this user receives the "Not enough privileges" error when he tries to do this. What privileges do I need to grant this user so that he can cut and paste any object into the "Content" tab?

+4
source share
5 answers

I would have thought that this would be enough, but two thoughts come to mind:

  • Is it a Contributor / Editor both in the context of the folder from which it is cut and the folder in which it is inserted?
  • Are cut objects actually additives in the place where they are inserted?
+2
source

I recently noticed that this is not the case with the same error. Invalid privileges when the user did not have View permission (or Reader role) in all folders from the site root to the element being copied or pasted. See http://dev.plone.org/plone/ticket/11573

+2
source

Cut + paste requires different privileges, except copy + paste. You do not specify what you need.

For copy + paste, assign your roles in Contributor + Editor to insert the folder into the sound. I think that in addition to the fact that the user should be able to view the content itself in addition to its folder.

For cut + paste, the user should also be able to delete items from the source folder, which may be the cause of your problem here (cut + paste is implemented as "delete" from the source, and "add" to the destination).

As Auspex says, check the restrictions on the subfolder.

You can run Plone in the "details" mode, which should help find the problem. See http://plone.org/documentation/kb/debug-unauthorized . You will probably need instructions in the "For Zope 2.8 +" section.

+2
source

If you added permissions locally on the Sharing tab, just double-check that the permissions are set for the actual container, and not the default.

+1
source

Thanks to everyone who helped. I went to error_log and removed Not enough rights from the list of errors that are not logged. Then, when I tried to cut and paste the error message again, I was told that I need to enable it.

0
source

Source: https://habr.com/ru/post/1342731/


All Articles