platform icon indicating copy to clipboard operation
platform copied to clipboard

Use MatchSubjctMappings in subject mapping builtin instead of passing in attributes

Open elizabethhealy opened this issue 1 year ago • 0 comments

Currently we call GetAttributeValuesByFqns to get subject mappings for the specified scope in GetEntitlements. These are then passed through the rego to the subject mapping builtin where the mappings are actually evaluated.

Instead call MatchSubjctMappings in the builtin to retrieve the relevant subject mappings using the entity representations returned from ERS.

elizabethhealy avatar Jul 31 '24 15:07 elizabethhealy