cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer Service for a Collaborator?

qyf
Champ in-the-making
Champ in-the-making
Alfresco version: 4.0.b

I created a custom action that uses the transferService2 to transfer a node (folder or file) from the repository to an remote File Transfer Receiver (FTR). I created a rule that triggers the action whenever a file under the node is updated. This setup works fine as long as I log in as the site manager. However, it doesn't work for a collaborator. When the collaborator user modifies a document (under the node) using Share's Inline Edit and clicks the Save button, the UI appears stuck (no response). If the user clicks the Cancel button, the user is returned to the document page but the document is corrupted from that time on. The FTR console keeps scrolling saying something like "processed command…"

So my questions are
1. Is this a bug or is it caused by security?
2. Is it possible at all for a site manager to set up such a transfer for collaborators?

Thanks for your help.
3 REPLIES 3

qyf
Champ in-the-making
Champ in-the-making
I have tried the same test using a single collaborator user (that is, create the nodes and the rule with the same user credential) and got the same result. The alfresco.log has this line: "10070018 10070007 Access Denied.  You do not have the appropriate permissions to perform this operation."

How do I modify the permissions to allow this type of operations?

qyf
Champ in-the-making
Champ in-the-making
I have tried several different scenarios and it looks like only an Alfresco system administrator can use the transfer service; no one else (even a site manager) can invoke the service.

pwdev
Champ in-the-making
Champ in-the-making
Not sure if you found the solution, but you should be able to set user permissions within a space.