Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Issue 6327011: Allow ADM(X) templates to manage both MACHINE and USER policies (Closed)

Created:
9 years, 11 months ago by gfeher
Modified:
9 years, 7 months ago
Reviewers:
Jakob Kummerow
CC:
chromium-reviews, pam+watch_chromium.org, Paweł Hajdan Jr., danno
Visibility:
Public.

Description

Allow ADM(X) templates to manage both MACHINE and USER policies ADMX policies will have the XML attribute class set to "both", ADM policies will be presented twice, once under CLASS MACHINE, and once under CLASS USER. BUG=70232 TEST=Add chrome.adm to Group Policy Editor and see if Chrome policies appear both under User Configuration and Machine Configuration, and they can be configured independently. Repeat this with chrome.admx. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72792

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : " #

Total comments: 5

Patch Set 4 : address comments + refactor adm_writer #

Patch Set 5 : tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -90 lines) Patch
M tools/grit/grit/format/policy_templates/writer_configuration.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/grit/grit/format/policy_templates/writers/adm_writer.py View 1 2 3 4 5 chunks +122 lines, -62 lines 0 comments Download
M tools/grit/grit/format/policy_templates/writers/adm_writer_unittest.py View 1 2 3 20 chunks +45 lines, -27 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
gfeher
Please review.
9 years, 11 months ago (2011-01-20 16:32:35 UTC) #1
Jakob Kummerow
LGTM with two nits and one request for clarification. http://codereview.chromium.org/6327011/diff/4001/tools/grit/grit/format/policy_templates/writers/adm_writer.py File tools/grit/grit/format/policy_templates/writers/adm_writer.py (right): http://codereview.chromium.org/6327011/diff/4001/tools/grit/grit/format/policy_templates/writers/adm_writer.py#newcode37 tools/grit/grit/format/policy_templates/writers/adm_writer.py:37: ...
9 years, 11 months ago (2011-01-24 16:52:28 UTC) #2
gfeher
Jakob, I've cleaned up adm_writer.py according to our offline discussion. Please take another look. http://codereview.chromium.org/6327011/diff/4001/tools/grit/grit/format/policy_templates/writers/adm_writer.py ...
9 years, 11 months ago (2011-01-25 10:42:21 UTC) #3
gfeher
Did another off-line round.
9 years, 11 months ago (2011-01-25 11:29:48 UTC) #4
Jakob Kummerow
9 years, 11 months ago (2011-01-25 11:38:04 UTC) #5
LGTM. Very nice.

Powered by Google App Engine
This is Rietveld 408576698