- +1 for above approach, since this is a platform level feature it make sense to to get privacy/cookie policy url from carbon.xml file.
- Going forward we need to support per tenant privacy/cookie policy as well but it need some new carbon UIs, let's start with server level privacy/cookie policy and introduce per tenant configuration later. @Ruwan I believe getPrivacyPolicyURL()/getCookiePolicyURL() method can hide the internal logic so pluginng tenant level configuration won't require any change to above methods. Thanks ! On Wed, Feb 21, 2018 at 4:34 PM, Nuwan Dias <[email protected]> wrote: > > > On Wed, Feb 21, 2018 at 3:46 PM, Isura Karunaratne <[email protected]> wrote: > >> Hi Ruwan, >> >> On Wed, Feb 21, 2018 at 3:28 PM, Ruwan Abeykoon <[email protected]> wrote: >> >>> Hi All, >>> >>> In order to comply with GDPR regulations, we are planning to incorporate >>> privacy and cookie policy URL configuration into carbon 4 "carbon.xml" . >>> The following element will be added to "carbon.xml", as this needs to be >>> available fr any product based on c4. >>> This configuration will be disabled (commented out) by default, in which >>> hard-coded URL shall be displayed by each UI. >>> >>> <!-- >>> Configurations related to privacy for the end-user who logs into the >>> platform >>> --> >>> <Privacy> >>> <!-- >>> The below privacy policy URL will be the one linked, instead of the >>> default, when configured. >>> This applies to carbon console and all other web applications. >>> --> >>> >>> <PrivacyPolicyURL>https://your.organozation/privacy/privacy-policy.html</PrivacyPolicyURL> >>> >>> >> Shouldn't this be a tenant wise configuration? >> > > Since all the web apps we ship by default are SaaS apps (all tenants login > to the same app) I think its fine for this to be a server config. > >> >> Thanks >> Isura. >> >>> >>> <!-- >>> The below cookie policy URL will be the one linked, instead of the >>> default, when configured. - >>> This applies to carbon console and all other web applications. >>> --> >>> >>> <CookiePolicyURL>https://your.organozation/privacy/cookie-policy.html</CookiePolicyURL> >>> </Privacy> >>> >>> >>> Furthermore, We will add following methods to "CarbonUtils.java" to >>> access the above two properties. These methods may return null, in which, >>> the relevant UI should render a default link for the respective policy URL. >>> >>> String getPrivacyPolicyURL() >>> String getCookiePolicyURL() >>> >>> >>> Cheers, >>> Ruwan >>> >>> >> >> >> -- >> >> *Isura Dilhara Karunaratne* >> Associate Technical Lead | WSO2 >> Email: [email protected] >> Mob : +94 772 254 810 <+94%2077%20225%204810> >> Blog : http://isurad.blogspot.com/ >> >> >> >> > > > -- > Nuwan Dias > > Software Architect - WSO2, Inc. http://wso2.com > email : [email protected] > Phone : +94 777 775 729 <+94%2077%20777%205729> > -- Sagara Gunathunga Director; WSO2, Inc.; http://wso2.com Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com Mobile : +9471 <+94%2071%20565%209887>2149951
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
