Hardening: session expiry and sealed handling, request timeout, list states, a11y, tested admin policy, security headers, README
CI / integration (push) Successful in 12s
CI / check (push) Successful in 15s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-20 11:42:01 +01:00
1 parent 265c618884
commit a63f7c0faa
30 files changed
+623 -76

No files matched your search

+3 -2
View File
@@ -17,7 +17,7 @@ function PolicyView({ client, name }: { client: BaoClient; name: string }) {
return (
<li>
{name}{' '}
<button type="button" aria-expanded={open} onClick={() => setOpen(!open)}>
<button type="button" aria-label={`${open ? 'Hide' : 'View'} ${name}`} aria-expanded={open} onClick={() => setOpen(!open)}>
{open ? 'Hide' : 'View'}
</button>
{open && <pre>{hcl.isPending ? 'Loading…' : (hcl.data ?? 'Could not read this policy.')}</pre>}
@@ -82,7 +82,7 @@ export function AccessEditor({ client, target, onClose }: Props) {
</p>
)}
{s.managed?.grants.length ? (
<table>
<table aria-label="Granted by EnvBao">
<thead>
<tr>
<th>Path</th>
@@ -100,6 +100,7 @@ export function AccessEditor({ client, target, onClose }: Props) {
<td>
<button
type="button"
aria-label={`Revoke ${g.path}`}
disabled={!editable}
onClick={() => window.confirm(`Revoke ${g.capabilities.join(', ')} on ${g.path}?`) && revoke.mutate(g.path)}
>