cancel
Showing results for 
Search instead for 
Did you mean: 

Collaborative Sandboxes?

laura_
Champ in-the-making
Champ in-the-making
I do believe the title says it all!

What are the options for implementing collaborative sandboxes?  As a background, I see that it's listed on the Roadmap (http://wiki.alfresco.com/wiki/Roadmap) as a Q3/Q4 feature, but I don't see much activity around it (it's actually also described on the WCM wiki page as "low hanging fruit", which makes me feel stupid for not figuring it out!)

Anyways, I've come up with limited options for this:

1. Make everyone a Content Manager- Content Managers can peek into other sandboxes, so technically this works.  However, this then requires making everyone a superuser, which throws out the whole permissions system.  Not good.

2. Having everyone connect as the same user - This causes us to lose versioning (well, keeping track of who changed what).  Also not good.

What other options are there (the above just won't do Smiley Sad )?  Would this be an easy extension to code up (and if so, where)?  And anyone know if this will this make it into an Alfresco release in the near future?

-Laura
1 REPLY 1

laura_
Champ in-the-making
Champ in-the-making
Well not a lot of replies yet so I'll throw out my latest info on solving this.  I'd appreciate any and all feedback (even if it's just to wish me good luck) Smiley Happy

I decided to see if the existing Alfresco permission system could do what I needed.  After a lot of digging through code, I finally created the following in a test webscript:


var nodeRef = avm.lookupNode("mywebsite–collaborative:/www/avm_webapps/ROOT/").nodeRef;
serviceRegistry.getPermissionService().setPermission(nodeRef, "GROUP_EVERYONE", "FullControl", true /*allow*/);

Note that code first retrieves the very base folder of my web project, and then it grants world/777/all access to everyone.

And I thought this solved it!  All users can indeed edit and create content inside this sandbox.  However, as soon as a user submits any of their changes to the Staging sandbox, the permissions get all screwed up.  I know that 'screwed up' isn't very descriptive, but I seem to be getting different results every time.  This latest time I tried submitting the changes it I got:

Caused by: org.alfresco.service.cmr.avm.AVMNotFoundException: 08130835 Not allowed to delete in store : mywebsite–workflow-8ec660c3-170d-4421-82d1-3702d8907eaf at /www/avm_webapps/ROOT

Are there any known issues with permissions and submitting to staging?  Or am I missing something obvious?

-Laura