Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add docs on toggleing the End-user agrement and privacy policy

...

Code Block
languageyml
titleconfig.*.yml
# Item Config
item:
  # Show the item access status label in items lists (default=false)
  showAccessStatuses: true

Toggle end-user agrement and privacy policy

Info
Available in 7.4 or later

The DSpace UI comes with basic end-user agreement and privacy policy functionality. Since release 7.4 these features can be disabled in a configuration file. More information on what disabling on of these features results in is documented in the default app configuration (see code snippet below).

Code Block
languageyml
titleconfig.yml
collapsetrue
info:  
  enableEndUserAgreement: false  
  enablePrivacyStatement: false

By default the features are enabled.

Code Block
languagejs
titledefault-app-config.ts
// 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  
};