Add "Policy" in the filtering criteria of AssignedProfiles

What is a one sentence summary of your feature request?

Add the possibility to select a Policy as a criteria for an AssignedProfile and use it as a filtering value.

Please describe your idea in detail. What is your problem, why do you feel this idea is the best solution, etc.

As of now, for a profile, the filtering to access items related to a specific Policy can only be done by implementing a filter with a hard coded value with the Policy’s Identifier in the XML configuration as opposed, for example, to the filtering that can be done for categories where you parameter the filter to use the Category selected as a criteria for the AssignedProfile in the “Assigned Profiles” menu.

Another possibility is to use the dimensions defined on the Policy and on the AssignedProfile to do the filtering in a more “dynamic” way, but it doesn’t allow to be “strict” as every policy that matches the dimensions would be used.

This means that, if a filtering on specific policies is needed for a client, the number of profiles that needs to be implemented in the configuration is multiplied by the number of Policy filtering that needs to be done.

It should be possible to use a Policy as a criteria for an AssignedProfile in the same way it’s possible to do so with a Category or a SingleRole.

How do you currently solve the challenges you have by not having this feature?

If specific policies filtering is needed, hardcoded filters are used at the moment.