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

Query on User Groups

Former Member
0 Likes
549

I created a User Group[powerUSer] and when I logs in with powerUser group test employee account into back office I need to see only Employee & Customers only and rest of the models should not appear in backoffice.

Please let me know what is the best approach in order to implement this ?

Note: OOTB groups are not I tried but not much helpful for me.

Accepted Solutions (0)

Answers (1)

Answers (1)

rohit31_raj92
Active Participant
0 Likes

Did you tried giving permissions to different items like read,create,change,remove,change_perm for the the user group( powerGroup) ? Can you check the files OOTB and see if this is helpful to you: cmscockpit-access-rights.impex OOTB

$START_USERRIGHTS;;;;;;;;; Type;UID;MemberOfGroups;Password;Target;read;change;create;remove;change_perm UserGroup;cmsmanagergroup;cockpitgroup,employeegroup;;;;;;;

general ;;;;Item;+;;;;; ;;;;UserGroup;+;;;;;

cms2 items ;;;;AbstractComponentContainer;+;+;+;+;+; ;;;;AbstractComponentContainer.itemtype;+;-;-;-;-; ;;;;AbstractCMSComponent;+;+;+;+;+; ;;;;AbstractCMSComponent.itemtype;;-;-;-;-; ;;;;AbstractCMSAction;+;+;+;+;+; ;;;;AbstractCMSAction.itemtype;;-;-;-;-; ;;;;SimpleCMSAction;+;+;+;+;+; ;;;;PickUpInStoreAction;+;+;+;+;+; ;;;;AddToCartAction;+;+;+;+;+; ;;;;ShareOnSocialNetworkAction;+;+;+;+;+; ;;;;AbstractPage;+;+;+;+;+; ;;;;AbstractPage.itemtype;;-;-;-;-; ;;;;AbstractRestriction;+;+;+;+;+; ;;;;AbstractRestriction.itemtype;;-;-;-;-; ;;;;BaseSite;-;+;-;-;-; ;;;;BaseStore;+;-;-;-;-; ;;;;CMSItem;+;+;+;+;+; ;;;;CMSItem.itemtype;;-;;;; ;;;;CMSRelation;+;+;+;+;+; ;;;;CMSCatalogRestriction;;;+;+;+; ;;;;CMSCategoryRestriction;;;+;+;+; ;;;;CMSProductRestriction;;;+;+;+; ;;;;CatalogPage;-;-;-;-;-; ;;;;CategoryPage;;;+;+;+; ;;;;ContentCatalog;+;+;+;+;+; ;;;;ContentPage;;;+;+;+; ;;;;ContentSlot;+;+;+;+;+; ;;;;ContentSlotForPage;+;+;+;+;+; ;;;;ContentSlotForTemplate;+;+;+;+;+; ;;;;ContentSlotName;+;+;+;+;+; ;;;;ElementsForContainer;+;+;+;+;+; ;;;;ElementsForSlot;+;+;+;+;+; ;;;;CMSImageComponent;;;+;+;+; ;;;;BannerComponent;;;+;+;+; ;;;;CMSLinkComponent;;;+;+;+; ;;;;Media;+;+;+;+;+; ;;;;CockpitUIScriptConfigMedia;-;-;-;-;-; ;;;;MediaContainer;+;+;+;+;+; ;;;;MediaContext;+;+;+;+;+; ;;;;MediaFormat;+;+;+;+;+; ;;;;MediaFormatMapping;+;+;+;+;+; ;;;;PageRestrictions;+;+;+;+;+; ;;;;PageTemplate;+;+;+;+;+; ;;;;CMSParagraphComponent;;;+;+;+; ;;;;ProductPage;;;+;+;+; ;;;;SimpleCMSComponent;;;+;+;+; ;;;;CatalogsForCMSSite;+;+;+;+;+; ;;;;AvailableSlotsForTemplate;+;+;+;+;+; ;;;;RestrictionsForPages;+;+;+;+;+; ;;;;CatalogsForRestriction;+;+;+;+;+; ;;;;CategoriesForRestriction;+;+;+;+;+; ;;;;ProductsForRestriction;+;+;+;+;+; ;;;;UsersForRestriction;+;+;+;+;+; ;;;;UserGroupsForRestriction;+;+;+;+;+; ;;;;PreviewDataToCatalogVersion;+;+;+;+;+; ;;;;PreviewData;+;+;+;+;+; ;;;;CMSSite;+;+;+;+;+; ;;;;MiniCartComponent;+;+;+;+;+; ;;;;CategoryFeatureComponent;+;+;+;+;+; ;;;;ProductFeatureComponent;+;+;+;+;+; ;;;;ProductVariantSelectorComponent;+;+;+;+;+; ;;;;ProductAddToCartComponent;+;+;+;+;+; ;;;;ProductReferencesComponent;+;+;+;+;+; ;;;;SimpleSuggestionComponent;+;+;+;+;+; ;;;;PurchasedCategorySuggestionComponent;+;+;+;+;+; ;;;;CartSuggestionComponent;+;+;+;+;+; ;;;;SearchBoxComponent;+;+;+;+;+; ;;;;CMSMediaParagraphComponent;+;+;+;+;+; ;;;;CMSUiExperienceRestriction;+;+;+;+;+; ;;;;CMSActionRestriction;+;+;+;+;+; ;;;;AccountNavigationComponent;+;+;+;+;+; ;;;;AccountNavigationCollectionComponent;+;+;+;+;+; ;;;;JspIncludeComponent;+;+;+;+;+; ;;;;AccountBookmarkComponent;+;+;+;+;+;

A*ccess Rights for Products & Catalog;*;;;;;;;; ;;;;ItemSyncTimestamp;+;;; ;;;;SyncItemJob;+;;; ;;;;Type;+;;; ;;;;Product;+;;; ;;;;Category;+;;; ;;;;variantType;+;;; ;;;;Catalog;+;;; ;;;;CatalogVersion;+;;;

$END_USERRIGHTS;;;;;

Former Member
0 Likes

Yes, but no luck.

Let me check this file[cmscockpit-access-rights.impex] again and will let you know how it goes ?

Former Member
0 Likes

In the OOTB file "customersupportbackoffice-backoffice-config.xml" I removed the merge-mode=remove then I am able to see administration tab when i logged in with my test user group account.

     <editorArea:editorArea name="">
         <editorArea:tab name="hmc.administration" merge-mode="remove"/>
         <editorArea:tab name="hmc.tab.personalization" merge-mode="remove"/>
         <editorArea:tab name="hmc.customerprices" merge-mode="remove"/>
     </editorArea:editorArea>
 </context>

But my custom attributes which are resided under admin tab those are not coming.

Let me how to bring those when i logged in ?