Skip to content
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

feat(HMS-2496): add no permission empty state #322

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

amirfefer
Copy link
Member

@amirfefer amirfefer commented Sep 4, 2023

@@ -58,11 +59,14 @@ const ProvisioningWizard = ({ onClose, image, ...props }) => {
setLaunchSuccess,
});

const onNext = ({ id, name }, { prevId, prevName }) => {
console.debug(`current id: ${id}, current name: ${name}, previous id: ${prevId}, previous name: ${prevName}`);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some old debug to clean...

@amirfefer
Copy link
Member Author

/cc @MariSvirik

@lzap
Copy link
Member

lzap commented Sep 5, 2023

So permission problem is resolved, I understand from Slack. Great. Linter issue.

@amirfefer
Copy link
Member Author

IB PR has been merged

@ezr-ondrej
Copy link
Member

LGTM, but I guess we'll need to update the IQE tests, right @mayurilahane, @akhil-jha ? :)

@ezr-ondrej
Copy link
Member

@mayurilahane
Copy link
Member

LGTM, but I guess we'll need to update the IQE tests, right @mayurilahane, @akhil-jha ? :)

yeah think we need to do some modal definition updates for this UI.
if its new pop-up modal

@ezr-ondrej
Copy link
Member

/retest

Huh? Not a new modal, more like a new step in current modal for users without perms

@amirfefer
Copy link
Member Author

amirfefer commented Sep 10, 2023

It's not a new modal (the modal is created on the IB side), though the new addition in IB osbuild/image-builder-frontend#1343 adds a mandatory hasAccess prop. In order to render the wizard in test, we need to ensure that in the ephemeral test environment, we have up-to-date IB and configured RBAC service with provisioning-write permission for the image's provider.

@ezr-ondrej
Copy link
Member

/retest

1 similar comment
@ezr-ondrej
Copy link
Member

/retest

@mayurilahane
Copy link
Member

As we do not have any RBAC UI test cases right now it will be safe to merge this.

Copy link
Member

@ezr-ondrej ezr-ondrej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do not test RBAC in UI yet (luckily, as we should test this screen).
Thanks @amirfefer nice work! 👍

@ezr-ondrej ezr-ondrej merged commit 854793b into RHEnVision:main Sep 13, 2023
3 checks passed
@ezr-ondrej
Copy link
Member

And thanks @mayurilahane for confirmation! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants