chore(backend): introduce a filter ash policy#1388
Draft
lusergit wants to merge 3 commits intoedgehog-device-manager:mainfrom
Draft
chore(backend): introduce a filter ash policy#1388lusergit wants to merge 3 commits intoedgehog-device-manager:mainfrom
filter ash policy#1388lusergit wants to merge 3 commits intoedgehog-device-manager:mainfrom
Conversation
d0d008b to
4d6543d
Compare
check and filter ash policies
537f02d to
ab1693b
Compare
Dam-99
reviewed
Apr 22, 2026
Contributor
Dam-99
left a comment
There was a problem hiding this comment.
some nits about typos, also in the second commit message
ac95190 to
04ad04d
Compare
04ad04d to
b80d3b1
Compare
Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
3ab0beb to
1f6a1b6
Compare
check and filter ash policiesfilter ash policy
659f4e5 to
27a5c81
Compare
Adds necessary callbacks and functions to the fga service. These callbacks are necessary for - handling single checks - handling synchronous and streamed filter Adds initial support for an `OpenFGA` provider for authentication. Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
Adds a filter policy that can be used to filter based on the value of a specific field and the relation the actor has with such field. Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
27a5c81 to
4781d4e
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Adds a new ash policy to filter (whatever entity) based on the list of ids OpenFGA provides when listing objects
They are meant to be used together to create policies to authorize users to do any activity inside of edgehog.
Additional documentation e.g. usage docs, diagrams, reviewer notes, etc.:
Thanks for sending a pull request! If this is your first time, here are some tips for you:
When fixing existing issues, use github's syntax to link your pull request to it
We also have a syntax to signal dependencies to other open pull requests
In case of stacked PRs, you may add the PR number in the last commit's title instead: