mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9125: Google Docs - contributor not given proper read/edit privileges
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28599 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -454,10 +454,13 @@ public class GoogleDocsServiceImpl extends TransactionListenerAdapter
|
|||||||
// Set the permission to the current acl
|
// Set the permission to the current acl
|
||||||
setGoogleResourcePermission(resource, authorityType, authorityName, aclRole);
|
setGoogleResourcePermission(resource, authorityType, authorityName, aclRole);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
// Always make sure the owner has write permissions on the document
|
||||||
}
|
String owner = ownableService.getOwner(nodeRef);
|
||||||
}
|
setGoogleResourcePermission(resource, AuthorityType.USER, owner, "writer");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user