This commit is contained in:
Timothy Jaeryang Baek committed 2026-02-13 13:29:22 -06:00
1 parent b4c3f54f96
commit df6e38039f
11 files changed
+34 -54

No files matched your search

@@ -836,8 +836,7 @@
bind:show={showAccessControlModal}
bind:accessGrants={knowledge.access_grants}
share={$user?.permissions?.sharing?.knowledge || $user?.role === 'admin'}
sharePublic={$user?.permissions?.sharing?.public_knowledge ||
$user?.role === 'admin'}
sharePublic={$user?.permissions?.sharing?.public_knowledge || $user?.role === 'admin'}
onChange={async () => {
try {
await updateKnowledgeAccessGrants(localStorage.token, id, knowledge.access_grants ?? []);