-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable kubeflow user id header from endpoint
Signed-off-by: lucferbux <[email protected]>
- Loading branch information
Showing
6 changed files
with
43 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ export const useSettings = (): { | |
}; | ||
|
||
// Mock a settings config call | ||
// TODO: [Data Flow] replace with thea actual call once we have the endpoint | ||
// TODO: [Data Flow] replace with the actual call once we have the endpoint | ||
export const fetchConfig = async (): Promise<ConfigSettings> => ({ | ||
common: { | ||
featureFlags: { | ||
|
@@ -72,9 +72,7 @@ export const fetchConfig = async (): Promise<ConfigSettings> => ({ | |
}); | ||
|
||
// Mock a settings user call | ||
// TODO: [Auth-enablement] replace with thea actual call once we have the endpoint | ||
// TODO: [Auth-enablement] replace with the actual call once we have the endpoint | ||
export const fetchUser = async (): Promise<UserSettings> => ({ | ||
username: 'admin', | ||
isAdmin: true, | ||
isAllowed: true, | ||
username: '[email protected]', | ||
}); |
This file contains 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
This file contains 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
This file contains 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