[FR] Add export button to about:policy |
|||||||
Issue descriptionabout:policy is an internal page that presents all currently configured policies on the machine, from all policy sources (local or cloud). This information is sometimes useful for debugging and validation. Giving an option to export this information would be very helpful to that effect. Proposed export format is JSON.
,
Jul 19 2017
,
Jul 19 2017
@1 Yes, you can save the page, but it makes scraping it harder if you want to have an automated tool do anything interesting with it. JSON, on the other hand, would be much simpler. And we have plans to do so in the near future :)
,
Aug 10 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cd9784aa3a6ff1aa8371eb25095bacac9428c4fc commit cd9784aa3a6ff1aa8371eb25095bacac9428c4fc Author: Anton Urusov <urusant@google.com> Date: Thu Aug 10 21:00:21 2017 Added button to export policies in JSON format. This change adds a button to the about:policy that exports the policies that are set in JSON format. Bug: 745889 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I6c8cf965346b51cb82d1baebc3f0becb35a29634 Reviewed-on: https://chromium-review.googlesource.com/579568 Commit-Queue: Anton Urusov <urusant@google.com> Reviewed-by: Georges Khalil <georgesak@chromium.org> Reviewed-by: Julian Pastarmov <pastarmovj@chromium.org> Reviewed-by: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#493540} [modify] https://crrev.com/cd9784aa3a6ff1aa8371eb25095bacac9428c4fc/chrome/browser/resources/policy.css [modify] https://crrev.com/cd9784aa3a6ff1aa8371eb25095bacac9428c4fc/chrome/browser/resources/policy.html [modify] https://crrev.com/cd9784aa3a6ff1aa8371eb25095bacac9428c4fc/chrome/browser/resources/policy.js [modify] https://crrev.com/cd9784aa3a6ff1aa8371eb25095bacac9428c4fc/chrome/browser/ui/webui/policy_ui.cc [modify] https://crrev.com/cd9784aa3a6ff1aa8371eb25095bacac9428c4fc/chrome/browser/ui/webui/policy_ui_browsertest.cc [modify] https://crrev.com/cd9784aa3a6ff1aa8371eb25095bacac9428c4fc/chrome/browser/ui/webui/policy_ui_handler.cc [modify] https://crrev.com/cd9784aa3a6ff1aa8371eb25095bacac9428c4fc/chrome/browser/ui/webui/policy_ui_handler.h [modify] https://crrev.com/cd9784aa3a6ff1aa8371eb25095bacac9428c4fc/components/policy_strings.grdp
,
Sep 12 2017
,
Sep 25 2017
,
Oct 5 2017
Tested this in M-61, the "Export to JSON" button is not present on chrome://policy page. M Chrome OS Chrome ARC Type Channel 61 9765.76.0 61.0.3163.113 (multiple) release stable However, this button is present in M-62, it allows to save policy to the policies.json file. M Chrome OS Chrome ARC Type Channel 62 9901.37.0 62.0.3202.44 4372619 release dev
,
Oct 5 2017
Yes, that is normal, the change was landed in 62. I changed the label accordingly.
,
Oct 5 2017
+Chrome Browser Enterprise TE, for verification on Linux/Mac/Windows
,
Nov 16 2017
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by mnissler@chromium.org
, Jul 19 2017