92701: Fix privacy string for klaro and add documentation

This commit is contained in:
Jens Vannerum
2022-08-05 13:12:52 +02:00
parent f2e977c402
commit 4dcf6a345a
4 changed files with 15 additions and 9 deletions

View File

@@ -325,6 +325,14 @@ export class DefaultAppConfig implements AppConfig {
image: false,
video: false
};
// Whether the end-user-agreement and privacy policy feature should be enabled or not.
// Disabling the end user agreement feature will result in:
// - Users no longer being forced to accept the end-user-agreement before they can access the repository
// - A 404 page if you manually try to navigate to the end-user-agreement page at info/end-user-agreement
// - All end-user-agreement related links and pages will be removed from the UI (e.g. in the footer)
// Disabling the privacy policy feature will result in:
// - A 404 page if you manually try to navigate to the privacy policy page at info/privacy
// - All mentions of the privacy policy being removed from the UI (e.g. in the footer)
info: InfoConfig = {
enableEndUserAgreement: true,
enablePrivacyStatement: true