Skip to content

Conversation

@aaleksee-akamai
Copy link
Contributor

Description 📝

Replace the grants with usePermission hook.

Note: There are still grants being used for Linode Interfaces

Changes 🔄

List any change(s) relevant to the reviewer.

  • replace grants
  • update tests

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

Target release date 🗓️

10/7

How to test 🧪

Prerequisites

(How to setup test environment)

  • iam (restricted) + regular account to compare

Verification steps

(How to verify changes)

  • go to /linodes/linodeId/storage -> Disks table -> action menu 'Create Disk Image'
  • go to /linodes -> action menu 'Rescue'
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

@aaleksee-akamai aaleksee-akamai added the Linodes Dealing with the Linodes section of the app label Sep 30, 2025
Copy link
Contributor

@abailly-akamai abailly-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - confirmed migration is behaving as expected

onDelete={onDelete}
onRename={onRename}
onResize={onResize}
readOnly={readOnly}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just don't confirm we don't need to replace those with permissions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, all permissions are handled in LinodeDiskActionMenu

@github-project-automation github-project-automation bot moved this from Review to Approved in Cloud Manager Oct 1, 2025
@aaleksee-akamai aaleksee-akamai requested a review from a team as a code owner October 2, 2025 07:15
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🔺 1 failing test on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing827 Passing11 Skipped42m 55s

Details

Failing Tests
SpecTest
clone-linode.spec.tsCloud Manager Cypress Tests→clone linode » can clone a Linode from Linode details page

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/linodes/clone-linode.spec.ts"

@aaleksee-akamai aaleksee-akamai merged commit 29cb53e into linode:develop Oct 2, 2025
34 of 35 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Merged in Cloud Manager Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IAM (Identity & Access Management) Linodes Dealing with the Linodes section of the app

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants