s72
  • Policy list

    data-policy

    A <figure data-policy> is a list of rules with a verdict against each one. data-title prints the title bar across the top, the <dl> inside holds the pairs, and a closing <figcaption> is the footnote.

    Basic

    Read ~/code/atlas
    Allowed
    Write _site/
    Allowed
    Write ~/.ssh
    Denied
    Network deploy only
    Asks first
    Paths are checked before the build starts, not while it runs.
    html
    <figure data-policy data-title="atlas build --watch">
      <dl>
        <dt><small>Read</small> ~/code/atlas</dt><dd><mark data-tone="go">Allowed</mark></dd>
        <dt><small>Write</small> _site/</dt><dd><mark data-tone="go">Allowed</mark></dd>
        <dt><small>Write</small> ~/.ssh</dt><dd><mark data-tone="stop">Denied</mark></dd>
        <dt><small>Network</small> deploy only</dt><dd><mark data-tone="info">Asks first</mark></dd>
      </dl>
      <figcaption>Paths are checked before the build starts, not while it runs.</figcaption>
    </figure>

    The <small> at the front of each <dt> is the kind of rule; the path follows it in the mono face.

    Notes