|
|
|
@ -64,12 +64,6 @@ export class InfoService { |
|
|
|
globalPermissions.push(permissions.enableFearAndGreedIndex); |
|
|
|
} |
|
|
|
|
|
|
|
if (this.configurationService.get('ENABLE_FEATURE_READ_ONLY_MODE')) { |
|
|
|
isReadOnlyMode = await this.propertyService.getByKey<boolean>( |
|
|
|
PROPERTY_IS_READ_ONLY_MODE |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
if (this.configurationService.get('ENABLE_FEATURE_AUTH_GOOGLE')) { |
|
|
|
globalPermissions.push(permissions.enableAuthGoogle); |
|
|
|
} |
|
|
|
@ -78,6 +72,12 @@ export class InfoService { |
|
|
|
globalPermissions.push(permissions.enableAuthToken); |
|
|
|
} |
|
|
|
|
|
|
|
if (this.configurationService.get('ENABLE_FEATURE_READ_ONLY_MODE')) { |
|
|
|
isReadOnlyMode = await this.propertyService.getByKey<boolean>( |
|
|
|
PROPERTY_IS_READ_ONLY_MODE |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
if (this.configurationService.get('ENABLE_FEATURE_STATISTICS')) { |
|
|
|
globalPermissions.push(permissions.enableStatistics); |
|
|
|
} |
|
|
|
|