feat(server): add project sharing access control
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user