cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT: Override Copy/Paste space for cloning permissions

ziad_maiden
Champ in-the-making
Champ in-the-making
Dear all,

Can you please assist me in solving the following issue… it's pretty urgent:
When I copy / paste a space using Alfresco Web Client, the space structure, content & rules are copied BUT user permissions are not.
Is there anyway to change the behavior of copy / paste to do so? or any other workaround?

Thanks a lot.
5 REPLIES 5

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
Hi, if that is important you can override clipboardbean and add that permission part.
if you are good with this you should not have problem.

ziad_maiden
Champ in-the-making
Champ in-the-making
Thank you for you reply.

Unfortunately I'm not that good.
Can you please help me out? I'm using Alfresco Community 3.2.
I really appreciate your time.

All the best

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
0: after you set up eclipse and all that you need
1: override cliboard bean ( you have tutorial how to do this but for login bean inside alfresco sdk in examples)
2:in paste method add
  before paste method rememeber permissions
reapply them after paste on new nodes using http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/security/PermissionSe... .

this would be all. I do not know any other method to do this, and I have not ever noticed this so do not know any faster method, like settings or other. Hope this give you enough pointers to start and finish.

ssaravanan
Champ in-the-making
Champ in-the-making
The issue has been raised in Jira http://issues.alfresco.com/jira/browse/ALF-2638
Is there any fix for it ? or there any developments on Head for a fix ?

rafabono
Champ in-the-making
Champ in-the-making