Chromium Code Reviews
DescriptionInclude 'external' policies in grit output (admx, adm, doc etc.)
External-type policies consist of a URL and a SHA-256 hash.
Right now, they can only be set through cloud policy, but not,
for instance, through Active Directory. This CL allows that.
Admins will have to calculate the SHA-256 hash of the URL
themselves, e.g. using some widely available tools, and then
specify the URL together with the hash as a JSON string.
{ "url": "<url>", "hash": "<SHA-256 hash>" }
Right now, all external-type policies are Chrome OS-only, so that
none of them shows up in ADMX templates, but this will change when
Chrome OS specific ADMX templates are generated, see
https://codereview.chromium.org/2481183002/.
BUG=638560
TEST=Compiled, ran tests, temporarily modified an external-type policy to
support all platforms, generated templates for all platforms, checked
output in text editor, loaded ADMX templates into Active Directory tools.
Review-Url: https://chromiumcodereview.appspot.com/2653823006
Cr-Commit-Position: refs/heads/master@{#503451}
Committed: https://chromium.googlesource.com/chromium/src/+/46a334169f967102881de54282c993a33641e658
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase #Patch Set 3 : Tests! #Patch Set 4 : Rebase #Patch Set 5 : Rebase #Patch Set 6 : Whitespace fixes #Patch Set 7 : Whitespace fix #Messages
Total messages: 22 (12 generated)
|