-
Story
-
Resolution: Won't Do
-
Normal
-
None
-
Quality / Stability / Reliability
-
5
-
False
-
-
False
-
None
-
Unset
-
None
-
-
Sources needs to be able to check if the user is authorized to perform the operations by using Kessel instead of RBAC.
The goal is to have an environment variable that allows us switching the authorization back end easily.
Relevant code: https://github.com/RedHatInsights/sources-api-go/blob/f7349490437b769ec3cdbf160101f6311cae5ac2/middleware/authorization.go#L93
Acceptance criteria
- Sources can send gRPC requests to the Kessel Relations API.
- Sources can make a workspace lookup of a certain permission.
- We can switch the Kessel - Relations on and off with an environment variable.