Avatar

Level 10

Hi,

What is the publishModel value for your File node for this user. You can use FilePublisher's getNodeConfiguration and getUserRole API to compare the values.

For publishing to work, the user's role value should be greater than the publishModel value for that file node.

One quick fix you can do is go to dev console , see what the publishModel of the FileNode you have, by clicking on configure on the FileFolder( folder name is the same as file node name) and change either that value to equal and lower to userRole value.

As an added note,

You can also use setNodeConfiguration and setUserRole API's in FilePublisher to tweak programatically the roles of users and node configurations.

Hope this helps

Thanks

Hironmay Basu