26b1873b3b
* Update the ACL API docs * Add a CreateTime to the anon token Also require acl:read permissions at least to perform rule translation. Don’t want someone DoSing the system with an open endpoint that actually does a bit of work. * Fix one place where I was referring to id instead of AccessorID * Add godocs for the API package additions. * Minor updates: removed some extra commas and updated the acl intro paragraph * minor tweaks * Updated the language to be clearer * Updated the language to be clearer for policy page * I was also confused by that! Your updates are much clearer. Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * Sounds much better. Co-Authored-By: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com> * Updated sidebar layout and deprecated warning
110 lines
3.9 KiB
Plaintext
110 lines
3.9 KiB
Plaintext
<% wrap_layout :inner do %>
|
|
<% content_for :sidebar do %>
|
|
<ul class="nav docs-sidenav">
|
|
<li<%= sidebar_current("api-overview") %>>
|
|
<a href="/api/index.html">API Overview</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-libraries-and-sdks") %>>
|
|
<a href="/api/libraries-and-sdks.html">Libraries & SDKs</a>
|
|
</li>
|
|
|
|
<hr>
|
|
|
|
<li<%= sidebar_current("api-acl") %>>
|
|
<a href="/api/acl/acl.html">ACLs</a>
|
|
<ul class="nav">
|
|
<li<%= sidebar_current("api-acl-tokens") %>>
|
|
<a href="/api/acl/tokens.html">Tokens</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-acl-tokens-legacy") %>>
|
|
<a href="/api/acl/legacy.html">Legacy Tokens</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-acl-policies") %>>
|
|
<a href="/api/acl/policies.html">Policies</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li<%= sidebar_current("api-agent") %>>
|
|
<a href="/api/agent.html">Agent</a>
|
|
<ul class="nav">
|
|
<li<%= sidebar_current("api-agent-check") %>>
|
|
<a href="/api/agent/check.html">Checks</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-agent-service") %>>
|
|
<a href="/api/agent/service.html">Services</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-agent-connect") %>>
|
|
<a href="/api/agent/connect.html">Connect</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li<%= sidebar_current("api-catalog") %>>
|
|
<a href="/api/catalog.html">Catalog</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-connect") %>>
|
|
<a href="/api/connect.html">Connect</a>
|
|
<ul class="nav">
|
|
<li<%= sidebar_current("api-connect-ca") %>>
|
|
<a href="/api/connect/ca.html">Certificate Authority (CA)</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-connect-intentions") %>>
|
|
<a href="/api/connect/intentions.html">Intentions</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li<%= sidebar_current("api-coordinate") %>>
|
|
<a href="/api/coordinate.html">Coordinates</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-event") %>>
|
|
<a href="/api/event.html">Events</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-health") %>>
|
|
<a href="/api/health.html">Health</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-kv-store") %>>
|
|
<a href="/api/kv.html">KV Store</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-operator") %>>
|
|
<a href="/api/operator.html">Operator</a>
|
|
<ul class="nav">
|
|
<li<%= sidebar_current("api-operator-area") %>>
|
|
<a href="/api/operator/area.html">Area</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-operator-autopilot") %>>
|
|
<a href="/api/operator/autopilot.html">Autopilot</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-operator-keyring") %>>
|
|
<a href="/api/operator/keyring.html">Keyring</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-operator-license") %>>
|
|
<a href="/api/operator/license.html">License</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-operator-raft") %>>
|
|
<a href="/api/operator/raft.html">Raft</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-operator-segment") %>>
|
|
<a href="/api/operator/segment.html">Segment</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li<%= sidebar_current("api-query") %>>
|
|
<a href="/api/query.html">Prepared Queries</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-session") %>>
|
|
<a href="/api/session.html">Sessions</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-snapshot") %>>
|
|
<a href="/api/snapshot.html">Snapshots</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-status") %>>
|
|
<a href="/api/status.html">Status</a>
|
|
</li>
|
|
<li<%= sidebar_current("api-txn") %>>
|
|
<a href="/api/txn.html">Transactions</a>
|
|
</li>
|
|
</ul>
|
|
<% end %>
|
|
|
|
<%= yield %>
|
|
<% end %>
|