cancel
Showing results for 
Search instead for 
Did you mean: 

space permission through workflow

dan_marcu
Champ in-the-making
Champ in-the-making
Hello,
I set up a simple workflow : the first step is to move a document from space_A of user1 to space_B of user2. To be able to do this I have to give at least collaborator permission to user1 in space_B of user2.
This is not ok for me, as I don't want user1 to have any kind of permission on space_B of user2. Can you tell me how can this be done? Thanks a lot.
2 REPLIES 2

sanket
Champ on-the-rise
Champ on-the-rise
You can login as admin.
Create a rule on space_A -
Condition - All items or any condition based on your requirement
Action - Add simple workflow to item. Now select space as space_B in Approve Flow step (with name-"approve"). (you can provide reject step only if you want).
Finish the rule.
Now upload a file in your space_A.
IN drop-down icon, you will see a approve step with name "approve". CLick on it.
Your file will be moved to space_B.

You told "I don't want user1 to have any kind of permission on space_B of user2".
For that, you have to remove even the consumer rights on the space.
Just open the space - Manage Space Users -
Uncheck the "Inherit Parent Space Permissions" checkbox.

For inviting the users (whom you want to see your space), you can click the invite link and assign them your desired role.

Hope this helps,
Thanks.

dan_marcu
Champ in-the-making
Champ in-the-making
It seems like I didn't make myself clear. I know how to do that, just that the level of security is not good enough for me. If I don't give user1 any permission on space_B of user2, the document cannot be moved in space_B of user2 as desired. It's an error "Failed to approve the document due to system error: 04175066 Access Denied. You do not have the appropriate permissions to perform this operation." As far as I have seen until now the only way to solve this is to give user1 at least collaborator permission on space_B of user2, which is not the security that I need. I don't want user1 to have any permission on space_B of user2, that's the idea. I want to know what and where needs to modified (config files, java code) to avoid this error in order to fully secure my workflow. Thanks.