feat: private certificates/documents buckets with SeaweedFS support
Add Document CRUD, temp→bucket commit flow, SeaweedFS env aliases, and default temp bucket name to temp.
This commit is contained in:
@@ -102,6 +102,10 @@ const userSchema = new mongoose.Schema({
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'Certificate'
|
||||
}],
|
||||
documents: [{
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'Document'
|
||||
}],
|
||||
refreshTokens: [refreshTokenSchema],
|
||||
isActive: {
|
||||
type: Boolean,
|
||||
|
||||
Reference in New Issue
Block a user