Documentation ¶
Overview ¶
Package softimpersonation implements "Soft impersonation", which allows carrying the whole description of the user an action is done for, without really impersonating this user and thus impacting the authorizations on the KCP side.
This is particularly useful in virtual workspaces which are connected to KCP as privileged user, but act on behalf of a user, for example when crating a workspace through the `workspaces` virtual workspace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UserInfoFromRequestHeader ¶
UserInfoFromRequestHeader extract a user.Info object from an internal request header set by a softly impersonated client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.