Hello,
In my Developer Portal setup, I’m currently pulling Microsoft Graph Users and Groups. I would like to implement a rule that automatically filters out entities not associated with the logged-in user's group(s).
Use Case:
If a user belongs to the groups Teams Devs and Ops, and an entity in the catalog has the following YAML configuration:
spec: owner: RelMan
Then this entity should not be visible to that user, since RelMan is not one of their groups.
Current Behavior:
At the moment, all users can see all entities, regardless of their group membership or the spec.owner field.
Desired Behavior:
Entities should be automatically filtered so that users only see those where the spec.owner matches one of their group memberships.
Let me know if this is achievable via RBAC, custom filters, or if a plugin is needed.
Thank you in advance!