mirror of
https://github.com/docmost/docmost.git
synced 2026-05-08 07:13:06 +08:00
feat: API key restriction
This commit is contained in:
@@ -327,7 +327,8 @@ export class WorkspaceService {
|
||||
if (
|
||||
typeof updateWorkspaceDto.disablePublicSharing !== 'undefined' ||
|
||||
typeof updateWorkspaceDto.trashRetentionDays !== 'undefined' ||
|
||||
typeof updateWorkspaceDto.mcpEnabled !== 'undefined'
|
||||
typeof updateWorkspaceDto.mcpEnabled !== 'undefined' ||
|
||||
typeof updateWorkspaceDto.restrictApiToAdmins !== 'undefined'
|
||||
) {
|
||||
const ws = await this.db
|
||||
.selectFrom('workspaces')
|
||||
|
||||
+1
-1
Submodule apps/server/src/ee updated: 45fe7b1fda...8b7ae8cf1b
Reference in New Issue
Block a user