-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upcoming: [M3-7462] - User Permissions: Configure Billing Account Access #10069
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/manager/cypress/e2e/core/account/user-permissions.spec.ts
Outdated
Show resolved
Hide resolved
packages/manager/cypress/e2e/core/account/user-permissions.spec.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
…c.ts Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @jaalah-akamai! Approved pending re-enabling the other user-permissions.spec
tests and addressing Mariah's other feedback
packages/manager/cypress/e2e/core/account/user-permissions.spec.ts
Outdated
Show resolved
Hide resolved
…c.ts Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
Coverage Report: ✅ |
Description 📝
Depending on the type of user managing the account, we want to restrict account access to billing.
None | Read Only | Read Write
.None | Read Only
,Read Write
is disabled.Read Write
is enabled and immutable,None | Read Only
are disabled.Changes 🔄
currentUser
andusername
created ambiguity as to what user we're actually dealing with for permissions, so to provide clarity:currentUser
is nowaccountUsername
username
is nowcurrentUsername
checkAndEnableChildAccountAccess
and it's accompanying state properties since we can infer all this based onuser_type
.childAccountAccessEnabled
andisAccountAccessRestricted
userType
to statePreview 📷
Include a screenshot or screen recording of the change
How to test 🧪
Prerequisites
(How to setup test environment)
Reproduction steps
(How to reproduce the issue, if applicable)
Verification steps
(How to verify changes)
Read Write
is disabled, but other two perms are selectable.Read Write
is enabled, but other two perms are disabled.As an Author I have considered 🤔
Check all that apply