I want to implement group constraints at design time in my application. I have checked the user guide but not sure how I can implement the following constraint.
Here is the scenario.
I have a table of UserExt where the user is an Entity and this UserExt table has a Composition table (UserExtCompany) that contains the list of Companies with a checkmark that indicates if the user has access to that company.
What I want is, the user will have access to only those companies that are checked in the UserExtCompany entity.
In the example (codes) from the user guide, only shows hard-code constraints but in my case, I need something which is defined by a user about the access as described above.
Note that I am going to use this in a multitenant add-on environment.
Thanks for sharing any sample or cone-snippets.