Resolves the permission of a variantId from a set of variant rules. Rules that are not permitted take precedence.
The rules to resolve from
The variantId to resolve the permission for
The resolved permission, or undefined if no rule applies to the variantId
Resolves the permission of a variantId from a set of variant rules. Rules that are not permitted take precedence.