feat: [UIE-8999] - IAM RBAC Adjust the parameters to useQueryWithPermissions and return errors - #12560
Conversation
coliu-akamai
left a comment
There was a problem hiding this comment.
Just wanted to double check testing setup to make sure I'm understanding everything correctly: I created a new user for myself on the iam account with limited permissions.
- should I be using IAM and the users & roles tab to update my limited account's viewable entities?
- Can I also use the grants model on this account, or should I have a separate, non-iam related restricted account to test on?
@coliu-akamai , Yes you can use the grants model on the same IAM account. Just turn the IAM flag off. |
|
In both the Create Firewall and Restore Backup drawers: |
dwiley-akamai
left a comment
There was a problem hiding this comment.
Observed the described options for unrestricted & restricted users w/ beta on and off ✅
Code review ✅
Could consider adding some test assertions in RestoreToLinodeDrawer.test.tsx to cover the different scenarios and see if the expected options are displayed
| "@linode/manager": Upcoming Features | ||
| --- | ||
|
|
||
| Modified the query parameter to allow varying use cases. Return any errors from the API along with isLoading, isError values. ([#12560](https://github.com/linode/manager/pull/12560)) |
There was a problem hiding this comment.
| Modified the query parameter to allow varying use cases. Return any errors from the API along with isLoading, isError values. ([#12560](https://github.com/linode/manager/pull/12560)) | |
| IAM RBAC: Modified query parameter to allow varying use cases, return API errors, and return isLoading and isError values ([#12560](https://github.com/linode/manager/pull/12560)) |
coliu-akamai
left a comment
There was a problem hiding this comment.
ahh right 🤦♀️ thanks @corya-akamai!
✅ confirmed the four scenarios
…sion hook, return errors and loading indicators
54a6dfb to
adc698f
Compare
Cloud Manager UI test results🔺 3 failing tests on test run #6 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: pnpm cy:run -s "cypress/e2e/core/kubernetes/lke-create.spec.ts" |
|||||||||||||||||||||||
|

Description 📝
Modified the query parameter to allow varying use cases. Return any errors from the API along with isLoading, isError values.
Changes 🔄
List any change(s) relevant to the reviewer.
Target release date 🗓️
8/12
Preview 📷
Restricted non-beta (Grants)




Restricted beta (Permissions)
Unrestricted non-beta (Grants)
Unrestricted beta (Permissions)
How to test 🧪
Prerequisites
Reproduction steps
Verification steps
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
As an Author, before moving this PR from Draft to Open, I confirmed ✅