Situation
There are N regional websites, one per country.
The global marketing teams are responsible for a global content.
The local marketing teams should be able to manage local content only.
Global teams should be able to manage some local content also if they have enough permissions.
The system should be idiot-proof, twhichat means that any changes made by the regional administrators should affect only their website, not other local websites.
c
Content1
There are two ways to implement it partially:
“Multi-language”: iIt is good if all the websites have the same design and components. Any exceptions should be implemented as hybris CMS restrictions. It is impossible or very difficult to configure the proper permissions. In this solution, the CA website administrator can change US website content – this is why this solution is partial. When the number of regions/countries is more than 3-4 this solution is also inconvenient.
Different pages for different countries. Per -page permissions. It will work, but with data duplications. Out-of-the-box apparel stores are implemented this way.
Complexity
Although the data model is prepared for having multiple content catalogs assigned to a single website (CMSSite), the cockpit itself is not ready. For the single content catalog, out-of-the-box hybris doesn’t have any capabilities to hide a particular content slot for the user who doesn’t have enough permissions to manage it.
Challenge
Hide particular content slots in hybris WCMS, depending on the current administrator’s rights.
content.png
Solution
Technical solution
Architecture
WCMS part
There is an “interceptor” – the hybris layer between the model class and the service class. This interceptor replaces slot names on the fly.
wcms-1-diagram
Storefront part
Page Controller or Filter should set a variable “region” and push into JSP.
JSP’s pageSlot tag has an attribute “position”. In our solution we will build the value of “position” attribute dynamically using value of “region” variable.
The text above was approved for publishing by the original author.
Previous
     
Next
Just go to your Inbox, press on the confirmation link we have sent you, and you will get the corrected text back. If you want to correct more emails you can simply:
Or