fix: graph role

This commit is contained in:
Tienson Qin
2026-01-21 23:05:28 +08:00
parent fe313b50dc
commit 3f4685f862
4 changed files with 48 additions and 8 deletions

View File

@@ -307,8 +307,10 @@
:GraphName (:graph-name graph)
:GraphSchemaVersion (:schema-version graph)
:GraphUUID (:graph-id graph)
:rtc-graph? true}
(dissoc graph :graph-id :graph-name :schema-version)))
:rtc-graph? true
:graph<->user-user-type (:role graph)
:graph<->user-grant-by-user (:invited-by graph)}
(dissoc graph :graph-id :graph-name :schema-version :role :invited-by)))
graphs)]
(state/set-state! :rtc/graphs result)
(repo-handler/refresh-repos!)