Skip to Content
1
Former Member
May 23, 2018 at 03:57 PM

How to Hide Product Catalog Online node in product cockpit for certain user groups

284 Views

How to Hide Product Catalog Online node in product cockpit for certain user groups? I tried the below search restriction and it is still showing the Product Catalog Online node in product cockpit

INSERT_UPDATE SearchRestriction;code[unique=true];principal(uid);query;restrictedType(code);active;generate ;ProductCatalogVersions;productadmingroup;{item:catalogVersion} IN ({{select {pk} from {catalogVersion as cv} where {cv.version}='Staged'}});Product;true;true ;ProductCatalogRestriction;productadmingroup;{id} in ( {{select {id} from {catalog} where {id} in ('SalesProductCatalog') }});Catalog;true;true ;ProductCatalogVersionRestriction;productadmingroup;{pk} in ( {{select {pk} from {catalogVersion as cv},{catalog as c} where {c.pk}={cv.catalog} and {c.id} in ('SalesProductCatalog') and {cv.version}='Staged' }});CatalogVersion;true;true