|
|
Created:
3 years, 11 months ago by Marton Hunyady Modified:
3 years, 11 months ago Reviewers:
Thiemo Nagel CC:
chromium-reviews Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionUse source parameter too to determine policy priority.
This fixes the problem of Enterprise default policies sometimes
overwriting Active Directory-set policies.
BUG=683150
Review-Url: https://codereview.chromium.org/2641343002
Cr-Commit-Position: refs/heads/master@{#445389}
Committed: https://chromium.googlesource.com/chromium/src/+/877b2113a4375f07ec1cd07a7ab4c417d957a37e
Patch Set 1 #Patch Set 2 : Add unit test. #
Total comments: 2
Patch Set 3 : Add comment, make code more readable. #
Total comments: 2
Patch Set 4 : Fix comment format. #
Messages
Total messages: 35 (21 generated)
Description was changed from ========== Use source parameter to determine policy priority. This fixes the problem of Enterprise default policies sometimes overwriting Active Directory-set policies. BUG=683150 ========== to ========== Use source parameter too to determine policy priority. This fixes the problem of Enterprise default policies sometimes overwriting Active Directory-set policies. BUG=683150 ==========
hunyadym@chromium.org changed reviewers: + tnagel@chromium.org
The CQ bit was checked by hunyadym@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
I think it would be a nice idea to add a method-level comment which details the priority of the properties (i.e. level > scope > source). https://codereview.chromium.org/2641343002/diff/20001/components/policy/core/... File components/policy/core/common/policy_map.cc (right): https://codereview.chromium.org/2641343002/diff/20001/components/policy/core/... components/policy/core/common/policy_map.cc:41: if (scope == other.scope) This requires braces.
The CQ bit was checked by hunyadym@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Done. https://codereview.chromium.org/2641343002/diff/20001/components/policy/core/... File components/policy/core/common/policy_map.cc (right): https://codereview.chromium.org/2641343002/diff/20001/components/policy/core/... components/policy/core/common/policy_map.cc:41: if (scope == other.scope) On 2017/01/23 13:13:52, Thiemo Nagel (slow) wrote: > This requires braces. Done.
lgtm % nit https://codereview.chromium.org/2641343002/diff/40001/components/policy/core/... File components/policy/core/common/policy_map.h (right): https://codereview.chromium.org/2641343002/diff/40001/components/policy/core/... components/policy/core/common/policy_map.h:48: // the fields are level > scope > source. Nit: |level| > |scope| > |source|
https://codereview.chromium.org/2641343002/diff/40001/components/policy/core/... File components/policy/core/common/policy_map.h (right): https://codereview.chromium.org/2641343002/diff/40001/components/policy/core/... components/policy/core/common/policy_map.h:48: // the fields are level > scope > source. On 2017/01/23 13:32:51, Thiemo Nagel (slow) wrote: > Nit: |level| > |scope| > |source| Done.
The CQ bit was checked by hunyadym@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...) win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...) win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/...)
> Done. still lgtm
The CQ bit was checked by hunyadym@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...) win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/...)
The CQ bit was checked by hunyadym@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)
The CQ bit was checked by hunyadym@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/...)
The CQ bit was checked by hunyadym@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1485190060338770, "parent_rev": "c2c9e69eb418629cc7f2ee5a60d913690883145e", "commit_rev": "877b2113a4375f07ec1cd07a7ab4c417d957a37e"}
Message was sent while issue was closed.
Description was changed from ========== Use source parameter too to determine policy priority. This fixes the problem of Enterprise default policies sometimes overwriting Active Directory-set policies. BUG=683150 ========== to ========== Use source parameter too to determine policy priority. This fixes the problem of Enterprise default policies sometimes overwriting Active Directory-set policies. BUG=683150 Review-Url: https://codereview.chromium.org/2641343002 Cr-Commit-Position: refs/heads/master@{#445389} Committed: https://chromium.googlesource.com/chromium/src/+/877b2113a4375f07ec1cd07a7ab4... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/877b2113a4375f07ec1cd07a7ab4... |