commit | 0fd57ed8e3e7ffae9b3ec34cfbae3b78f55d0b22 | [log] [tgz] |
---|---|---|
author | Brett Johnson <Brett.Michael.Johnson@gmail.com> | Thu Jul 03 16:14:54 2014 -0700 |
committer | Brett Johnson <Brett.Michael.Johnson@gmail.com> | Tue Jul 08 14:59:22 2014 -0700 |
tree | 19b7eb625da0a0c06d38276d9b134db965bc5edc | |
parent | 3c40f454de7132d72e98605014bb58b73d4558b9 [diff] |
Do not send ACLs and Groups to GSA if markAllDocsAsPublic is true. If markAllDocsAsPublic is true, feeding ACLs and Groups serves no purpose. This modifies DocIdSender to return immediately if pushNamedResources() or pushGroupDefinitions() are called when markAllDocsAsPublic is true. When I added tests for this, I found some of the tests for pushing named resources and groups normally were deficient, so I beefed them up a bit. Code Review: http://codereview.appspot.com/108400046