Search Engine: Elastic

Article ID: 132694, created on May 28, 2018, last review on Jul 14, 2018

  • Applies to:
  • Odin Business Automation Standard 4.5

Instructions

The following instructions can be done in case of:

  • OBAS Online Store and/or CP template customizations;
  • OBAS upgrade to version 4.5.7 x64 is not possible at the moment;

    Important:

    1. Refer the following KB for OBAS 4.5.7 x64 GDPR compliance configuration : How to make OBAS GDPR compliant?;
    2. Before applying changes below it is strictly recommended to backup OBAS MN and OBAS Database server.
  • Changes in Odin Business Automation Standard Dynamic Store:

    1. Download file gdpr_alert.html.php and place it to /var/opt/hspc-store/templates/ directory.

    2. Open file /var/opt/hspc-store/i18n/EN/hspc-store-basic.xml and add the following strings to the end of the file and before </strings> tag:

          <string>
          <id>GDPR_ALERT_TEXT</id>
          <val>Our Company uses cookies to improve the usability of the website. By continuing to use this website and/or login you are accepting the use of these cookies. For more information, visit our &lt;a href="%gdpr_policy_url%" target="_blank"&gt;Privacy Policy&lt;/a&gt;. &lt;button id="gdprAccept"&gt;I accept&lt;/button&gt;</val>
          </string>
      
    3. Open file /var/opt/hspc-store/templates/header.html.php and add the following lines right after <div id="top-wrapper" class="l-top"> tag:

      <?php if($GLOBALS['StoreConf']['GDPR_ALERT']) { echo $view->render('gdpr_alert.html.php', array()); } ?>
      
    4. Open (or create in case of absence) file /var/opt/hspc-store/customization/vendor/1/custom.ini and add the following lines at the end of the file:

      GDPR_ALERT = On
      GDPR_POLICY_URL = "/data/Privacy-Statement.html"
      

      In order to place already existing Privacy Policy, please specify the full URL of that policy instead of /data/Privacy-Statement.html noted above.

    Note:

    • For non-default location of OBAS store file locations may differ.
    • The procedure describes actions to enable GDPR alert for Provider store only. If it is required to to enable GDPR alert for resellers, please change /var/opt/hspc-store/customization/vendor/VENDOR_ID/custom.ini file, where VENDOR_ID is the id of corresponding Reseller account.
    • If Reseller Hiding is in affect, or existing Reseller has his own Privacy Policy, GDPR alert setting should be done by templates customization per vendor. Details can be found in OBAS SDK.
    • The procedure is applicable for the OBAS new Dynamic Store only. If it is required to add the same functionality for OBAS old Store, please create a request to Odin Technical Support.
  • Changes in Odin Business Automation Control Panel:

    1. Open file /var/opt/hspc-root/i18n/EN/strings.xml and add the following lines before </strings> tag:

      <string>
      <id>gdpr_alert</id>
      <c>Text message displayed in Control Panel</c>
      <val>Our Company uses cookies to improve the usability of the website. By continuing to use this website and/or login you are accepting the use of these cookies. For more information, visit our <a target="_blank" href="/data/Privacy-Statement.html">Privacy Policy</a>.&nbsp;&nbsp;&nbsp;<button id="gdprAccept">I accept</button></val>
      </string>
      
    2. Restart hspcd service:

      # service hspcd restart
      

      Warning: Restart of the hspcd service will cause OBAS downtime for about 10-60 seconds.

    3. Download file login.tmpl and place it to the following paths:

      /var/opt/hspc-root/skins/winxp_blue/template/HSPC/SM/CoreUI/login.tmpl
      /var/opt/hspc-root/skins/winxp_olive/template/HSPC/SM/CoreUI/login.tmpl
      /var/opt/hspc-root/skins/winxp_silver/template/HSPC/SM/CoreUI/login.tmpl
      

      Attention: File path may differ depending on current skin customization.

    4. Download file skin-panel-login.tmpl, rename it to login.tmpl and place it to the following path:

      /var/opt/hspc-root/skins/panel/template/HSPC/SM/CoreUI/login.tmpl
      

      Attention: File path may differ depending on current skin customization.

    5. Download file top_frame.tmpl and place it to the following path:

      /var/opt/hspc-root/skins/panel/template/HSPC/CP/Visual/top_frame.tmpl
      

      Attention: File path may differ depending on current skin customization.

    6. Download file page_default.tmpl and place it to the following path:

      /var/opt/hspc-root/template/HSPC/Request/page_default.tmpl
      

      Attention: File path may differ depending on current skin customization.

    7. Open file /var/opt/hspc-root/data/Privacy-Statement.html and place there a Privacy Policy.

      How to specify different Privacy Policy URL: To specify different URL of Privacy Policy page instead of <https://OBAS.MN.URL/data/Privacy-Statement.html>:

      1 . Open file /var/opt/hspc-root/custom/i18n/EN/strings.xml and add the following lines:

      <?xml version="1.0" encoding="iso-8859-1"?>
      <strings lang="en" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="strings.xsd">
      
      <string>
      <id>gdpr_alert</id>
      <c>Text message displayed in Control Panel</c>
      <val>Our Company uses cookies to improve the usability of our site. By continuing to use this site and/or login you are accepting the use of these cookies. For more information, visit our <a target="_blank" href=`<https://your.Site.url/path/to/Privacy-Statement.html>`Privacy Policy</a>.&nbsp;&nbsp;&nbsp;<button id="gdprAccept">I accept</button></val>
      </string>
      
      </strings>
      

      Attention: Do not forget to change <https://your.Site.url/path/to/Privacy-Statement.html> with the URL where Privacy Policy page is located.

      2 . Restart hspcd service:

         # service hspcd restart 
      

      Warning: Restart of the hspcd service will cause OBAS downtime for about 10-60 seconds.

    Note:

    • If Reseller Hiding is in affect, or existing Reseller has his own Privacy Policy, GDPR alert setting should be done by templates customization per vendor. Details can be found in OBAS SDK.

Other aspects of GDPR compliance

Tools for account data export and for personal data anonymization are available by request to Odin Technical Support and will be included in OBAS 4.5.8 release.

See also

How to make OBAS GDPR compliant?

624ca542e40215e6f1d39170d8e7ec75 caea8340e2d186a540518d08602aa065 400e18f6ede9f8be5575a475d2d6b0a6 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF