fix: [UIE-9500] - oAuth issue with IAM OAuthCallback - #13037
Merged
Conversation
abailly-akamai
requested review from
a team,
aaleksee-akamai and
mpolotsk-akamai
and removed request for
a team
October 30, 2025 13:41
abailly-akamai
marked this pull request as ready for review
October 30, 2025 13:42
abailly-akamai
commented
Oct 30, 2025
| permissionMap[permission] = | ||
| (unrestricted || usersPermissionMap[permission]) ?? false; | ||
| } | ||
| }); |
Contributor
Author
There was a problem hiding this comment.
@aaleksee-akamai - these are exactly your changes from #13033 because i wanted to make sure to test these changes with the proper checks in place.
| queryOptions(profileQueries.profile()) | ||
| ); | ||
|
|
||
| if (profile.restricted) { |
Contributor
There was a problem hiding this comment.
in that case maybe we need to remove/update the comment below?
aaleksee-akamai
approved these changes
Nov 4, 2025
aaleksee-akamai
left a comment
Contributor
There was a problem hiding this comment.
Confirm the steps, looks good, thanks for the fix!
mpolotsk-akamai
approved these changes
Nov 4, 2025
mpolotsk-akamai
left a comment
Contributor
There was a problem hiding this comment.
Verified the steps, everything works great. Thanks for the fix!
dwiley-akamai
approved these changes
Nov 6, 2025
…es route (linode#13034) * UIE-9456 & UIE-9457 * test * Added changeset: Typo + expose search filters on /iam/roles route
* feat: [UIE-9481] - IAM: add perm check for the drawer * Added changeset: IAM: add a permission check for delete nodebalancer drawer
…ode#13042) * feat: add empty state to Default Roles/Entities table * Added changeset: IAM: Empty state for the Default Roles and Default Entities Access tabs * update text * add unit tests * review fix * unit test fix
* fix: [UIE-9478] - IAM: disable tag edit * Added changeset: IAM: tags editing was enabled for restricted users * fix: [UIE-9478] - add tooltip, disable manage tags in Volume action menu * style fix
…8.0, UI version 0.23.0
…8.0, UI version 0.23.0
… for < 1 hour (linode#13045) * fix: [M3-9498] - Update linode/clone endpoint and label calculations for < 1 hour * Add changelogs --------- Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
…inode#13047) * try/cath child user query * consistent handling * types * Added changeset: IAM Child Account - user not found error handling
…hen user has no permissions (linode#13049) * fix: [UIE-9477] - IAM: Disable delete and detach popups for Volumes if no permissions * Added changeset: IAM: restricted users could access delete and detach popups without permissions
…lans (linode#13054) * upcoming: [UIE-9434] - Create feature flag for generational compute plans * Added changeset: Feature flag for Generational Compute plans
… list table based on status (linode#13052) * refactor: [DI-27807] - Change status of edit & delete button in alert list table based on status * Added comment * Added changeset * refactor: [DI-27807] - Updated test cases
…ure flag (linode#13051) * Add firewall rs & pl feature flag * Added changeset: Feature flag for Firewall Rulesets & Prefixlists
…#13050) * UIE-9342 * UIE-9341 * feat: [UIE-9341, UIE-9342, UIE-9521] - IAM: fix perm for vpc * Added changeset: IAM: fix permissiom's check for vpc for assigning/unassigning linodes * filter linodes * e2e deferred getLinodes call --------- Co-authored-by: Alban Bailly <abailly@akamai.com>
…ssControlDrawer (linode#13044) ## Description 📝 Refactor Database Manage Networking drawer to use React Hook Form instead of Formik ## Changes 🔄 - There should be no visual external changes other than IP validation on blur instead of after clicking Update Access Controls ## How to test 🧪 ### Prerequisites (How to setup test environment) - Have the Database VPC feature flag enabled ### Verification steps (How to verify changes) - [ ] Test adding/editing IPs in the Database landing page via Manage Access Controls action dropdown - [ ] Test adding/editing IPs in the Database details page via the Networking tab - [ ] There should be no regressions compared to prod, error messages should display
… PrimaryNav (linode#13056) * attempt to rule out any race condition * comments * code and fixes * cleanup * Added changeset: Race condition with Preferences overrides in PrimaryNav
…ccount (linode#13033) * feat: [UIE-9393] - IAM Parent/Child: delegate permissions for child account * changesets * remove the unrestricted check for query * fix conflict * e2e gating * lint fix * better approach to fixing e2e * Mock IAM to be disabled in Account Switching test --------- Co-authored-by: Alban Bailly <abailly@akamai.com> Co-authored-by: Alban Bailly <130582365+abailly-akamai@users.noreply.github.com> Co-authored-by: Joe D'Amore <jdamore@akamai.com>
* feat: [UIE-9534] - IAM: add tooltips * Added changeset: IAM: add tooltips for disabled buttons for nodebalancers, remove notification banner * update text * remove tooltip
* change:[UIE-9541] Add MSW crud support for types API * Added changeset: Add MSW crud support for types API * Added changeset: Add MSW crud support for types API
abailly-akamai
requested review from
cpathipa and
dmcintyr-akamai
and removed request for
a team
November 7, 2025 15:22
Cloud Manager UI test results🔺 4 failing tests on test run #5 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: pnpm cy:run -s "cypress/e2e/core/stackscripts/update-stackscripts.spec.ts,cypress/e2e/core/databases/create-database.spec.ts,cypress/e2e/core/stackscripts/create-stackscripts.spec.ts" |
||||||||||||||||||||||||||
This was referenced Nov 13, 2025
7 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description 📝
When signing in with an OAuthCallback that includes a route using
checkIAMEnabled, auth fails because of race condition with the profile check.Changes 🔄
checkIAMEnabledScope 🚢
Upon production release, changes in this PR will be visible to:
Preview 📷
Screen.Recording.2025-10-30.at.14.36.46.mov
Screen.Recording.2025-10-30.at.14.33.41.mov
How to test 🧪
Prerequisites
Have an IAM enabled account - any environment
Reproduction steps
http://localhost:3000/iam/rolesVerification steps
http://localhost:3000/iam/roles/iam/rolesand properly authenticated in cloud managerAuthor Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅