on 07-09-2020 6:33 PM
We have requirement of disabling the OOTB "Add New Product" Button in "catalog" perspective of ProductCockpit based on the user roles defined in our system.
Please suggest any solution possible through impex or code level also its fine.
Try this impex, which makes Product read-only (i.e. disable create). Change `custom-backoffice-role` with the role that you want. `BackofficeRole` can also be changed to `UserGroup`.
$START_USERRIGHTS;;;;;;;;;
Type;UID;MemberOfGroups;Password;Target;read;change;create;remove;change_perm
BackofficeRole;custom-backoffice-role;;;;;;;;
;;;;Product;;;-;;;
$END_USERRIGHTS;;;;;
Let me know if it works. If it does, don't forget to upvote and accept the answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
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.