feat(server): add project sharing access control

This commit is contained in:
2026-07-10 14:46:18 +08:00
parent 60130b3d9b
commit 9d47cb9bbd
41 changed files with 3069 additions and 17 deletions
+6
View File
@@ -13,10 +13,16 @@ type Config struct {
Realtime RealtimeConfig
Outbox OutboxConfig
Auth AuthConfig
Sharing SharingConfig
Agent AgentConfig
ObjectStorage ObjectStorageConfig
}
type SharingConfig struct {
EncryptionSecret string `json:",optional"`
EncryptionSecretEnv string `json:",default=SHARING_ENCRYPTION_SECRET"`
}
type StorageConfig struct {
Driver string `json:",default=memory"`
DataSource string `json:",optional"`