cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hello, everyone, is there any way to disable an editor area Tab for a user group?

Former Member

Accepted Solutions (1)

Accepted Solutions (1)

former_member625836
Active Contributor
0 Likes

Hi ,

It is all about UI configuration. You can see a general description here. Then using this mechanism you can specify tabs to be added/removed from EditorArea (description of what can be included in EditorArea configuration can be found here). Long story short - you need to add a proper configuration into your resources/extensionname-backoffice-config.xml. It should look something like the one below:

 <context merge-by="type" parent="GenericItem" type="Category" component="editor-area" principal="some-backoffice-role">
         <editorArea:editorArea xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea">
                     <editorArea:tab name="tab.to.be.removed" merge-mode="REMOVE"/>
         </editorArea:editorArea>
 </context>

Cheers, Jacek

Former Member
0 Likes

thank you so much

Answers (0)