mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00: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:
@@ -5,7 +5,6 @@ export interface VersionConfig {
|
||||
enabled: boolean;
|
||||
requiredVersion: string;
|
||||
};
|
||||
allowGuestDemoWorkspace?: boolean;
|
||||
}
|
||||
|
||||
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.",
|
||||
default: '>=0.20.0',
|
||||
},
|
||||
allowGuestDemoWorkspace: {
|
||||
desc: 'Allow guests to access demo workspace.',
|
||||
default: true,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user