manager icon indicating copy to clipboard operation
manager copied to clipboard

feat: [M3-8704] - Disable Create Firewalls button with tooltip text on empty state Landing Page for restricted users.

Open hasyed-akamai opened this issue 1 year ago โ€ข 0 comments

Description ๐Ÿ“

To prevent unauthorized access to specific flows and provide clearer guidance, we aim to restrict entry to users without the required permissions.

Here, we are restricting users from creating new Firewalls from the Empty State Landing Page when they do not have access or have read only access.

Changes ๐Ÿ”„

List any change relevant to the reviewer.

  • For restricted users:
    • Disabled Create Firewalls Button on the Empty Landing Page

Target release date ๐Ÿ—“๏ธ

Preview ๐Ÿ“ท

Before After
Before After

How to test ๐Ÿงช

Prerequisites

  • Log into two accounts side by side:
    • An unrestricted admin user account: full access
    • A restricted user account (use Incognito for this)
      • Start with Read Only for everything

Reproduction steps

  • Landing:
    • Observe as restricted user, notice shows and you cannot create Firewalls

Verification steps

  • After changes, observe tooltips are tailored to the action.

As an Author I have considered ๐Ÿค”

Check all that apply

  • [x] ๐Ÿ‘€ Doing a self review
  • [x] โ” Our contribution guidelines
  • [x] ๐Ÿค Splitting feature into small PRs
  • [x] โž• 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
  • [x] ๐Ÿ‘ฃ Providing comprehensive reproduction steps
  • [ ] ๐Ÿ“‘ Providing or updating our documentation
  • [ ] ๐Ÿ•› Scheduling a pair reviewing session
  • [ ] ๐Ÿ“ฑ Providing mobile support
  • [ ] โ™ฟ Providing accessibility support

hasyed-akamai avatar Oct 14 '24 09:10 hasyed-akamai