feat(acl): add bot security policy presets

Initialize new bots with preset ACL templates and an allow-by-default fallback so common access setups can be selected during bot creation instead of being configured manually afterward.
This commit is contained in:
BBQ
2026-04-14 04:38:53 +08:00
committed by 晨苒
parent 0e6c8ca451
commit 60517bc2a6
24 changed files with 1033 additions and 93 deletions
@@ -25,7 +25,7 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
data-slot="tooltip-content"
v-bind="{ ...forwarded, ...$attrs }"
:class="cn(
'z-50 w-fit rounded-lg px-3 py-1.5 text-xs text-balance',
'z-50 w-fit rounded-lg px-3 py-1.5 text-xs whitespace-normal break-words',
'bg-primary text-primary-foreground shadow-lg',
'animate-in fade-in-0 zoom-in-95',
'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',