on 2018 Jul 24 12:08 PM
Hi,
I´d like to disable the Imprt,- export,- scriptgenerator -Wizzards in Backoffice for certain usergroups but can´t find a way to do it. Can you help me with that?
cheers
Raphael
Request clarification before answering.
Create backoffice role BackofficeRole and then assign that BackofficeRole to that specific user group and use below
<context merge-by="principal" component="explorer-tree" principal="newRole">
<explorer-tree:navigation-node id="hmc_treenode_systemtools">
<explorer-tree:type-node code="SavedValues" id="hmc_typenode_savedvalues"/>
<explorer-tree:navigation-node id="hmc_treenode_impex_import_wizard" merge-mode="remove" />
<explorer-tree:navigation-node id="hmc_treenode_impex_export_wizard" merge-mode="remove" />
<explorer-tree:navigation-node id="hmc_treenode_script_generator_wizard" merge-mode="remove"/>
</explorer-tree:navigation-node>
</context>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For specific role cxmanager/admin disables Import,Export and ScriptGenerator: Make context tag and put explorer tree tag in it.............................. context component="explorer-tree" principal="cxmanager" merge-by="module"
<explorer-tree:navigation-node id="hmc_treenode_system" >
<explorer-tree:navigation-node id="hmc_treenode_systemtools">
<explorer-tree:type-node code="SavedValues" id="hmc_typenode_savedvalues"/>
<explorer-tree:navigation-node id="hmc_treenode_impex_import_wizard" merge-mode="remove" />
<explorer-tree:navigation-node id="hmc_treenode_impex_export_wizard" merge-mode="remove" />
<explorer-tree:navigation-node id="hmc_treenode_script_generator_wizard" merge-mode="remove"/>
</explorer-tree:navigation-node>
</explorer-tree:navigation-node>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Could you help me to clarify this configuration? I have the same necesity where I have an usergroup and I want to disable tools menu in the backoffice for that role but I already have added the importcronjobwizard like a permission for that role but it still shows enabled,
I'll appreciate your support,
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create backoffice role for the user groups and please find the code snippet below , mention your groups in principal attribute
<explorer-tree:explorer-tree xmlns:explorer-tree="http://www.hybris.com/cockpitng/config/explorertree">
<explorer-tree:navigation-node id="hmc_treenode_system">
<explorer-tree:navigation-node id="hmc_treenode_systemtools">
<explorer-tree:navigation-node id="hmc_treenode_impex_import_wizard" merge-mode="append"/>
<explorer-tree:navigation-node id="hmc_treenode_impex_export_wizard" merge-mode="append"/>
<explorer-tree:navigation-node id="hmc_treenode_script_generator_wizard" merge-mode="append"/>
</explorer-tree:navigation-node>
</explorer-tree:navigation-node>
</explorer-tree:explorer-tree>
</context>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.