mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-13 04:42:56 +08:00
chore(server): remove useless client allowGuestDemoWorkspace config (#12988)
#### PR Dependency Tree * **PR #12988** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Removed the configuration option that allowed guests to access demo workspaces. This affects related settings in the system configuration and admin interface. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -597,11 +597,6 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Allowed version range of the app that allowed to access the server. Requires 'client/versionControl.enabled' to be true to take effect.\n@default \">=0.20.0\"",
|
"description": "Allowed version range of the app that allowed to access the server. Requires 'client/versionControl.enabled' to be true to take effect.\n@default \">=0.20.0\"",
|
||||||
"default": ">=0.20.0"
|
"default": ">=0.20.0"
|
||||||
},
|
|
||||||
"allowGuestDemoWorkspace": {
|
|
||||||
"type": "boolean",
|
|
||||||
"description": "Allow guests to access demo workspace.\n@default true",
|
|
||||||
"default": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ export interface VersionConfig {
|
|||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
requiredVersion: string;
|
requiredVersion: string;
|
||||||
};
|
};
|
||||||
allowGuestDemoWorkspace?: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
@@ -29,8 +28,4 @@ defineModuleConfig('client', {
|
|||||||
desc: "Allowed version range of the app that allowed to access the server. Requires 'client/versionControl.enabled' to be true to take effect.",
|
desc: "Allowed version range of the app that allowed to access the server. Requires 'client/versionControl.enabled' to be true to take effect.",
|
||||||
default: '>=0.20.0',
|
default: '>=0.20.0',
|
||||||
},
|
},
|
||||||
allowGuestDemoWorkspace: {
|
|
||||||
desc: 'Allow guests to access demo workspace.',
|
|
||||||
default: true,
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -211,10 +211,6 @@
|
|||||||
"versionControl.requiredVersion": {
|
"versionControl.requiredVersion": {
|
||||||
"type": "String",
|
"type": "String",
|
||||||
"desc": "Allowed version range of the app that allowed to access the server. Requires 'client/versionControl.enabled' to be true to take effect."
|
"desc": "Allowed version range of the app that allowed to access the server. Requires 'client/versionControl.enabled' to be true to take effect."
|
||||||
},
|
|
||||||
"allowGuestDemoWorkspace": {
|
|
||||||
"type": "Boolean",
|
|
||||||
"desc": "Allow guests to access demo workspace."
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"captcha": {
|
"captcha": {
|
||||||
|
|||||||
Reference in New Issue
Block a user