Remote Publish on folder cause an "User XXX does not have Publish Permission over asset with Identifier XXX"
The identifier is the folder identifier and the user is the folder creator. In this folder there are only html pages and file asset created/published by the same user (or users of the same role).
Does the folder has the "publish permissions"?
No but I do not get this. Are you sure the user exists on the Remote End? Same user? Same id etc..
Yes sure...the problem is on "Remote Publish" on sender side...this bundle is not created and not puts into the publishing queue
I might need some more help here or u to debug a bit as I am unable to reproduce this currently. I am able to push folders that exist and do not exist with files and pages.
Ok...I create a new empty folder...with the same user I do "Remote Publish" and this is the error: 2013-03-25 13:35:59,947 INFO com.dotcms.publisher.business.PublisherAPIImpl - User: dotcms.org.2820 does not have Publish Permission over asset with Identifier: b312b46a-2aad-4519-8f6d-bdbc6815b627
this is the folder identifier
i meant you may need to get me steps from a starter site to reproduce. As you know I have no access to your data. Is this error thrown on the Receiver Side or Sender Side. I thought you meant Receiver as that would be the Remote
No this error is on Sender Side before create bundle...in fact into the publishing queue there isn't. By the way noone messages appear to me on portlet, I must read the logs
I mean, this is the permissions on folder that I want to publish. My user is into the second role into the list.
@graz1an0 I will retest but I was unable to reproduce. So again I need you to hook up locally to debug or tell me from a starter site how to reproduce.
A good free tool here that we use is called Jing- http://www.techsmith.com/jing.html. You can capture and share screenshots and video that helps when trying to describe an issue.
@jtesser I create a new host, assigned all permissions on my role to this new host, create a new folder with this user, remote publish on this folder and the problem still persist.
Do you thing we have some different code? I mean we update everything the last week (thursday).
- Create a new host (for example DEMO_GRAZIANO)
- Create new Role (for example RUOLO_GRAZIANO) that has all privileges on this new host (on cascade) all privileges except the edit permissions
- Add an user into this role (this user is only in this role)
- login with this new user, create a folder (for example first_folder)
- at this point, no matter if I upload some file assets into this folder or not, when I right click on folder and do "Remote Publish" appear to me the popup and when I do "Save" nothing happen...It seems that everything goes fine but into the publishing queue there isn't and into the log file I see "User MY_USER does not have Publish Permissions on asset with Idenfier: FOLDER_IDENTIFIER" that's all... with a new clean and updated dotCMS instance
The issue is that if you are not a cms admin, we are looking for "PUBLISH" permissions on a folder in order to remote publish it - these do not exist - folder do not have PUBLISH permissions.
yea I was thinking that. Easy fix
Thanks, Jason S. Tesser Director, Support Services dotCMS, Inc. T: 305.858.1422 x7003 http://twitter.com/dotCMS www.dotcms.com
On Wed, Mar 27, 2013 at 11:07 AM, Will Ezell [email protected]:
The issue is that if you are not a cms admin, we are looking for "PUBLISH" permissions on a folder in order to remote publish it - these do not exist
- folder do not have PUBLISH permissions.
— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/2413#issuecomment-15528789 .
added limited user folder push to script tests