-
Notifications
You must be signed in to change notification settings - Fork 52
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
Implemented an ability to reject the authorisation opt-out flag from the dashboard #972
Conversation
Skipping CI for Draft Pull Request. |
packages/dashboard-backend/src/devworkspaceClient/services/devWorkspacePreferencesApi.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-backend/src/devworkspaceClient/services/devWorkspacePreferencesApi.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/ProviderIcon/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/__tests__/index.spec.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/UserPreferences/GitServicesTab/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-backend/src/routes/api/workspacePreferences.ts
Outdated
Show resolved
Hide resolved
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-972 |
2 similar comments
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-972 |
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-972 |
Signed-off-by: Oleksii Orel <[email protected]>
2fbcad0
to
c57ec26
Compare
f438348
to
f4114b8
Compare
Signed-off-by: Oleksii Orel <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #972 +/- ##
==========================================
- Coverage 85.15% 84.96% -0.20%
==========================================
Files 380 384 +4
Lines 39189 39723 +534
Branches 2522 2545 +23
==========================================
+ Hits 33373 33752 +379
- Misses 5789 5944 +155
Partials 27 27
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-972 |
Signed-off-by: Oleksii Kurinnyi <[email protected]>
@olexii4 could you please provide more details in the PR description e.g. demo / mockups / how to verify etc?
|
Signed-off-by: Oleksii Kurinnyi <[email protected]>
@ibuziuk Since Oleksii is on PTO I'm going to update the description |
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-972 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks good to merge, because I was able to reject GitLab OAuth access token using Che > Dashboard > User Preferences > Git Services
tab, which is the goal of the PR.
GitHub and Bitbucket should be able to. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: akurinnoy, dmytro-ndp, ibuziuk, olexii4, tolusha The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Build 3.11 :: dashboard_3.x/400: Console, Changes, Git Data |
Build 3.11 :: sync-to-downstream_3.x/5336: Console, Changes, Git Data |
Build 3.11 :: push-latest-container-to-quay_3.x/3724: Console, Changes, Git Data |
Build 3.11 :: get-sources-rhpkg-container-build_3.x/5198: dashboard : 3.x :: Build 57095652 : quay.io/devspaces/dashboard-rhel8:3.11-26 |
Build 3.11 :: update-digests_3.x/4966: Console, Changes, Git Data |
Build 3.11 :: dashboard_3.x/400: Upstream sync done; /DS_CI/sync-to-downstream_3.x/5336 triggered |
Build 3.11 :: operator-bundle_3.x/2306: Console, Changes, Git Data |
Build 3.11 :: sync-to-downstream_3.x/5338: Console, Changes, Git Data |
Build 3.11 :: push-latest-container-to-quay_3.x/3725: Console, Changes, Git Data |
Build 3.11 :: copyIIBsToQuay/2176: Console, Changes, Git Data |
Build 3.11 :: sync-to-downstream_3.x/5338: Build container: devspaces-operator-bundle synced; /DS_CI/get-sources-rhpkg-container-build_3.x/5199 triggered; /job/DS_CI/job/dsc_3.x triggered; |
Build 3.11 :: operator-bundle_3.x/2306: Upstream sync done; /DS_CI/sync-to-downstream_3.x/5338 triggered |
Build 3.11 :: dsc_3.x/1572: Console, Changes, Git Data |
Build 3.11 :: update-digests_3.x/4966: Detected new images: rebuild operator-bundle |
Build 3.11 :: dsc_3.x/1572: 3.11.0-CI |
What does this PR do?
This PR adds the ability to reject the authorization opt-out flag from the dashboard. It revamps the Git Services tab on the User Preferences page to show the Git providers current authorization state (accepted, rejected, or neither), and adds a way to clear the rejected authorization flag for a provider.
Screencast
Git.providers.authorization.mp4
Screenshots
What issues does this PR fix or reference?
fixes eclipse-che/che#22600
Is it tested? How?