You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Korifi levereges RBAC to implement authorization (e. what apps are visible to a certain user). Since Korifi is currently interacting directly with RoleBinding this is currently fix.
If would be great to give the option to install Korifi without the use of RBAC. The authorization would not work out of the box, but has to be provided differently, similar to extenting Korifi via AppWorkload or BuildWorkload.
The use case I have in mind is an extension API server. If someone implements an extension API server, it could also do the permission check and therefor the RBAC overhead would not be needed.
This touches a few things:
Introduction of a CFRole to allow the extension server to get all permissions. So not creating RoleBindings directly
space_filtering_client will not be used for any repository. Rather than checking all namespaces, korifi could jetzt request everything from the API server and the extension API server will only return the objects the user has permissions
The logic to check if the current user is a cf_user would probably be different.
The text was updated successfully, but these errors were encountered:
Now with the space_filtering_client that should even be more straight forward since already all object are selected and the label selector ensures to select only the one with access to. We sould without RBAC just skip the label selector since the calculation on the label could get expensive for many spaces and users.
Description
Korifi levereges RBAC to implement authorization (e. what apps are visible to a certain user). Since Korifi is currently interacting directly with
RoleBinding
this is currently fix.If would be great to give the option to install Korifi without the use of RBAC. The authorization would not work out of the box, but has to be provided differently, similar to extenting Korifi via
AppWorkload
orBuildWorkload
.The use case I have in mind is an extension API server. If someone implements an extension API server, it could also do the permission check and therefor the RBAC overhead would not be needed.
This touches a few things:
CFRole
to allow the extension server to get all permissions. So not creatingRoleBinding
s directlyspace_filtering_client
will not be used for any repository. Rather than checking all namespaces,korifi
could jetzt request everything from the API server and the extension API server will only return the objects the user has permissionsThe text was updated successfully, but these errors were encountered: