Policy template writers ignore min value of ints |
||||||||
Issue descriptionThe schema for policy_templates.json supports 'minimum' and 'maximum' values to restrict the range of ints (and other types). The policy source generator emits code that enforces these restrictions. The template generator should also use these to include the restrictions in generated documentation and policy templates.
,
May 24 2018
,
Sep 4
,
Nov 20
,
Nov 30
Grabbing for acostinas to look at
,
Dec 6
,
Dec 10
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/eaf2c40eee311ae17e9d95121dc0b904408adaa6 commit eaf2c40eee311ae17e9d95121dc0b904408adaa6 Author: Andreea Costinas <acostinas@google.com> Date: Mon Dec 10 11:35:36 2018 Add policy range restrictions to generated docs BUG= 839307 Change-Id: Ib45cb357f1a9e737a04bd490674dbc24a8a778a3 Reviewed-on: https://chromium-review.googlesource.com/c/1367668 Reviewed-by: Julian Pastarmov <pastarmovj@chromium.org> Commit-Queue: Andreea-Elena Costinas <acostinas@google.com> Cr-Commit-Position: refs/heads/master@{#615090} [modify] https://crrev.com/eaf2c40eee311ae17e9d95121dc0b904408adaa6/components/policy/resources/policy_templates.json [modify] https://crrev.com/eaf2c40eee311ae17e9d95121dc0b904408adaa6/components/policy/tools/template_writers/writers/adm_writer.py [modify] https://crrev.com/eaf2c40eee311ae17e9d95121dc0b904408adaa6/components/policy/tools/template_writers/writers/admx_writer.py [modify] https://crrev.com/eaf2c40eee311ae17e9d95121dc0b904408adaa6/components/policy/tools/template_writers/writers/admx_writer_unittest.py [modify] https://crrev.com/eaf2c40eee311ae17e9d95121dc0b904408adaa6/components/policy/tools/template_writers/writers/doc_writer.py
,
Dec 10
,
Dec 10
(no manual testing performed) |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by emaxx@chromium.org
, May 22 2018Owner: atwilson@chromium.org
Status: Assigned (was: Untriaged)