-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consider project hierarchy in profile evaluation
This makes it so that profiles now take into account the project hierarchy when evaluating for an entity. That is, profiles that apply to the entity via the hierarchy (same project and parents) are evaluated when the executor gets an event. This iterates in steps, so the profile may only use rule types that exist in its same project. A Further iteration will also take the hierarchy into account when searching for rule types. Note that hierarchy operations are still under a feature flag, so this is not generally available. Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
- Loading branch information
Showing
2 changed files
with
73 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters