fix: [M3-8500] - Restricted users without account access unable to create Linodes on Linode Create v2 #10846
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 📝
The Bug 🐛
add_linodes
access, but with no account/billing permissions tried to create a LInode, they would see an infinite loading spinner. This is because Cloud Manager was trying to GET/v4/account/agreemeents
, but failed to because the endpoint will 403 for this restricted user.The Fix 🔧
add_linodes
access but with no account/billing permissions to create Linodes regardless of the account's agreements.Target release date 🗓️
9/3/24
Preview 📷
Screen.Recording.2024-08-28.at.11.15.40.AM.mov
How to test 🧪
Prerequisites
add_linodes: true
(Can add Linodes to this account
in the UI)account_access: null
(No billing access in the UI)Reproduction steps
Verification steps
As an Author I have considered 🤔