cancel
Showing results for 
Search instead for 
Did you mean: 

Entire ACL emailed when checking to GoogleDocs

rockshore
Champ in-the-making
Champ in-the-making
Community 3.4.d

Re: https://issues.alfresco.com/jira/browse/ALF-7661

Is there a workaround that prevents the entire ACL from being emailed when checking out to GoogleDocs?

Thanks in advance.
3 REPLIES 3

loftux
Star Contributor
Star Contributor
I suggest you vote for that issue to raise it in importance. I've been running with that patch applied for some time now, and it works perfectly, so you can create you own version by compiling yourself.

Other than that I'm not aware of any method to not notifying everyone.

rockshore
Champ in-the-making
Champ in-the-making
Thanks for the swift reply.

I've done as you suggested and voted for the bug.

I can't see the patch to be applied anywhere within that page - please could you point me in the right direction?

loftux
Star Contributor
Star Contributor
Just search for private void setGoogleResourcePermissions
and the remove/comment the same stuff I did. The first two rows in the patch (with String owner) may not be in the code, so just ignore that part.
What you need left to just do a checkout for the one doing checkout

if (GoogleDocsPermissionContext.PRIVATE.equals(permissionContext) == false)
{
      String userID = (String)nodeService.getProperty(nodeRef, ContentModel.PROP_WORKING_COPY_OWNER);
      setGoogleResourcePermission(resource, AuthorityType.USER, userID, "writer");
}