on 10-18-2016 10:04 AM
Hi,
We are customizing backoffice to show the specific sections within backoffice to a user.
For instance; an SEO guy can only see a custom item type displayed in explorer tree. He should not be able to see the other items.
We also need a way to assign backoffice roles to the users to restrict. How do we restrict this to the user?
Saurabh
Disabled node means that your user doesn't have access to this type. You can change it as follows: User -> User Groups -> (select your 'backofficerole1') -> Open 'Key' action (Principal Permission Action) -> Add SEOConfiguration and assign appropriate permissions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It worked post your changes request. I created a custom back office role and in access rights tab in HMC, I added the custom item type and it worked.
However, I now want to enable the OOTB item types available to this user.
For instance; under System > Facet Search Conciguration.
How can I configure visibility and access of this item type to the user?
Hi!
Node in ExplorerTree is disabled when a user has no read-rights for specified type. Check if backofficerole1 has right to read SEOConfiguration.
Best regards, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I've checked your code snippet:
<context component="explorer-tree" merge-by="principal" principal="backofficerole1">
<n:explorer-tree xmlns:n="http://www.hybris.com/cockpitng/config/explorertree">
<n:navigation-node id="SEO Configuration">
<n:type-node id="SEOConfiguration" code="SEOConfiguration" />
</n:navigation-node>
</n:explorer-tree>
</context>
And tree node is visible only for testuser. Important question is: Did you create 'backofficerole1' as a backoffice role? You can check it as follows:
User -> User Groups -> (select backofficerole1) -> Administration tab -> Metadata -> Type (it should be equal to 'BackofficeRole')
Regards
Lukasz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I created "backofficerole1" and assigned it to a user "testuser".
Next I created a custom component and assigned the backofficerole1 to it as follows:
context component="explorer-tree" merge-by="principal" principal="backofficerole1">
<n:explorer-tree xmlns:n="http://www.hybris.com/cockpitng/config/explorertree">
<n:navigation-node id="SEO Configuration">
<n:type-node id="SEOConfiguration" code="SEOConfiguration" />
</n:navigation-node>
</n:explorer-tree>
</context>
<context type="SEOConfiguration" component="listview" principal="backofficerole1">
<list:list-view xmlns:list="http://www.hybris.com/cockpitng/component/listView">
<list:column qualifier="code" />
<list:column qualifier="pageType" />
<list:column qualifier="title" />
<list:column qualifier="aliasName" />
<list:column qualifier="keyword" />
<list:column qualifier="description" />
<list:column qualifier="metaname" />
<list:column qualifier="metacontent" />
</list:list-view>
</context>
I tried restricting this node to backofficerole1 but it is coming as disabled for testuser.
Changes done as per documentation but still not working. any thoughts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please take a look at this topic: https://answers.sap.com/questions/12760456/how-to-hide-single-nodes-in-explorer-tree-cockpit.html
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
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.