on 03-05-2019 9:39 AM
Hi! The case we are dealing with: We have an item type A which is extended from B. Now we have a user group UG. They have to be able to create type A items in the BO, but not type Bs. Therefor we restricted them in item type level to have the permission to create item type A, but not item type B. These items have their own defined place in the tree and are listed in our Backoffice, so they have their own listveiw section. In this section if we would like to create a new A or B item, there is the + sign for it. The problem is, that the UG doesn't even able to click on the + sign even if they have permission to create type A. What do we miss here?
Hi ,
By default create action gets a type from pageable that was listed in Collection Browser
and checks create permissions for this type. I would then expect that for if type A is listed, UG should be able to click on action. If you require for user to be able to create item of type A in list of type B, then unfortunately you would have to extend ootb Create Action
and change com.hybris.cockpitng.actions.create.CreateAction#canPerform
method.
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 |
---|---|
3 | |
2 | |
2 | |
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.