We have a requirement where a user should be able to select only one entitlement for a specific application (Through Manage User Access).
This restriction should apply only to that particular application, not to all applications.
If the user tries to select more than one entitlement for that application, the system should display a popup message informing the user that only one entitlement can be selected.
I shared a sample plugin that blocks the request flow if items are more than certain number. I believe this should work in your case as well, where instead of checking all the line items, you can check for specific apps and throw the popup.
please let me know if it help, i can share the sample plugin over chat.
@satishbabu Code is not there in the post. I shared it for the context. If your requirement is like the other thread, i can share the details over chat.
Create a small plugin to achieve it. In manage user access page, are we doing any filtering?? is yes, which filter you are using?? Please confirm. This should be a simple plugin to achieve.
We’ve got a similar requirement earlier and we’ve dealt it with Advanced Policy.
In Advanced policy you can write the policy violation rule and return violation based on your conditions