feat: [UIE-8934, UIE-8935, UIE-8939] - IAM RBAC: fix permission check for sub-entities#12535
Conversation
… in Linodes Storage, Configuration, and Settings tabs
|
✅ The buttons in the storage, configurations and settings tabs are correctly enabled/disabled based on the permissions/grants for both IAM and non-IAM users. |
Cloud Manager UI test results🔺 2 failing tests on test run #3 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: pnpm cy:run -s "cypress/e2e/core/objectStorageMulticluster/object-storage-objects-multicluster.spec.ts,cypress/e2e/core/objectStorage/access-key.e2e.spec.ts" |
||||||||||||||||||||
@jdamore-linode We good to merge with the Object-storeage failures? |
|
@corya-akamai yep, you're good to go! 👍 Sorry for the trouble with the OBJ tests! |

Description 📝
RBAC permission hook: update checks for sub-entities in Linodes Storage, Configuration, and Settings tabs.
Changes 🔄
List any change(s) relevant to the reviewer.
Files Affected:
Target release date 🗓️
July 29th
How to test 🧪
Prerequisites
(How to setup test environment)
You can test using a DevCloud IAM account or local devenv setup or mock data (use the User Permissions presets);
Note: The unrestricted account has full access — permission checks are skipped.
To test permissions using presets:
const { permissions } = usePermissions('account', ['create_firewall'])), use the Custom User Account Permissions preset.Verification steps
(How to verify changes)
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 ✅