Skip to content

Conversation

@mpolotsk-akamai
Copy link
Contributor

@mpolotsk-akamai mpolotsk-akamai commented Feb 9, 2026

Description 📝

This PR implements error handling when removing default role, hides "View User Detail" and "Delete User" options in action menu for delegate users.

Changes 🔄

List any change(s) relevant to the reviewer.

  • implement error handling for RemoveAssignmentConfirmationDialog and UnassignRoleConfirmationDialog
  • hide "View User Detail" and "Delete User" options in action menu for delegate users

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

Preview 📷

Before After
Screenshot 2026-02-10 at 1 57 33 PM Screenshot 2026-02-10 at 1 58 04 PM
Screenshot 2026-02-10 at 2 05 09 PM

How to test 🧪

Prerequisites

(How to setup test environment)

  • use IAM Parent Account

Reproduction steps

(How to reproduce the issue, if applicable)

Action Menu fix:

  • Switch to the Child Account form the Parent
  • Go to /iam/users
  • Click action menu for delegate user

Error Handling:

  • Use Child Account
  • Go to /iam/roles/defaults/roles
  • Try to remove any role or entity with mocked API response returning error

Verification steps

(How to verify changes)

  • Verify that "View User Detail" and "Delete User" options are hidden for delegate user.
  • Verify that Error message is displayed.
Author 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


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

… wrong action menu options for delegate users
@mpolotsk-akamai mpolotsk-akamai self-assigned this Feb 9, 2026
@mpolotsk-akamai mpolotsk-akamai added IAM (Identity & Access Management) IAM Delegation Implementing the new Parent/Child delegation UI labels Feb 9, 2026
@mpolotsk-akamai mpolotsk-akamai marked this pull request as ready for review February 10, 2026 13:16
@mpolotsk-akamai mpolotsk-akamai requested a review from a team as a code owner February 10, 2026 13:16
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 866 passing tests on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing866 Passing11 Skipped39m 44s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IAM Delegation Implementing the new Parent/Child delegation UI IAM (Identity & Access Management)

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

3 participants