Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playground - adds a platform for users to fiddle with cloudknit #320

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
eab992b
Adding bff proxy changes to handle guest auth for playground environm…
shashank26 May 12, 2023
7b1e6c4
Pushing code for web and bff to support login and restricting feature…
shashank26 May 12, 2023
c38944c
Fixing user flow.
shashank26 May 12, 2023
fdc6266
Github API Changes
shashank26 May 12, 2023
2c18995
Api Config changes for github
shashank26 May 12, 2023
38196b1
Adding modal popup to UI
shashank26 May 12, 2023
ae47ad5
Removing github access token from code
shashank26 May 15, 2023
e53785f
Merge branch 'main' into playground
shashank-cloudknit-io May 16, 2023
208802c
updates chart version for bff and web
shashank26 May 16, 2023
1a35341
Updates correct version and reverts wrong change
shashank26 May 16, 2023
21aed7a
hardcodes playground and other env vars for testing.
shashank26 May 16, 2023
1bc84a1
adds logic to extract ip for user
shashank26 May 16, 2023
8a57bec
Adding ipv4 to save user call
shashank26 May 17, 2023
d47c0be
Using correct controller route to fetch user using ip
shashank26 May 17, 2023
4141933
sending ip param to api
shashank26 May 17, 2023
62734d6
Removing error api calls from UI
shashank26 May 18, 2023
5d7127b
Removing error state ref.
shashank26 May 18, 2023
790e894
While Fetching a Playground User, we are trying to associate an org i…
shashank26 May 18, 2023
9fa3403
Using Current Auth for guest login
shashank26 May 19, 2023
8a4cf73
Setting playground environment to true
shashank26 May 19, 2023
99e357f
Correcting the condition to allow routes.
shashank26 May 19, 2023
a730570
Fixing access url for authorized user
shashank26 May 19, 2023
21e1617
Only showing popup to guests
shashank26 May 19, 2023
4729dbc
Testing github commit code.
shashank26 May 19, 2023
055863d
fixing path mapping for github api
shashank26 May 19, 2023
a5a16d8
Removing token from code
shashank26 May 19, 2023
f98d12b
Using ssm to fetch PAT
shashank26 May 20, 2023
b77940d
Fixing success message!
shashank26 May 20, 2023
2b3d62a
Changing the play environment
shashank26 May 22, 2023
2e31c0c
Using demo in the path
shashank26 May 22, 2023
5c36224
Fixing the popup flow
shashank26 May 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adding ipv4 to save user call
  • Loading branch information
shashank26 committed May 17, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 8a57becaae71cb2300cbe28cb4e7bf051e276682
1 change: 1 addition & 0 deletions api/src/users/users.service.ts
Original file line number Diff line number Diff line change
@@ -102,6 +102,7 @@ export class UsersService {
newUser.name = uuid;
newUser.username = uuid;
newUser.role = 'Guest';
newUser.ipv4 = user.ipv4;
newUser.organizations = [org];

return this.userRepo.save(newUser);