on 2016 May 02 12:26 PM
Is there a way to create User or catalog specific validation Constraint?
You can create validation groups (ConstraintGroup) with different constraints assigned to the groups. When the user logs in (AfterSessionUserChangeEvent) you can set the appropriate ConstraintGroup on the session
de.hybris.platform.validation.services.ValidationService.setActiveConstraintGroups(Collection<ConstraintGroupModel>)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
27 | |
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.