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

[14.0] ISPN-15125 Error page is shown for non-admin user if accesses cache to which has permission #406

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

karesti
Copy link
Collaborator

@karesti karesti commented Oct 3, 2023

@karesti karesti changed the title [Console] Error page is shown for non-admin user if accesses cache to which has permission [14.0] ISPN-15125 Oct 3, 2023
@karesti karesti changed the title [14.0] ISPN-15125 [14.0] ISPN-15125 Error page is shown for non-admin user if accesses cache to which has permission Oct 3, 2023
@karesti karesti force-pushed the fix-rbac branch 10 times, most recently from e073cd1 to c49c6b4 Compare October 4, 2023 15:06
@andyuk1986
Copy link
Collaborator

@karesti may I look into the tests? Or the PR is not yet ready?

@karesti
Copy link
Collaborator Author

karesti commented Oct 5, 2023

not yet @andyuk1986

@karesti karesti force-pushed the fix-rbac branch 12 times, most recently from b3e04bc to 41865a7 Compare October 9, 2023 13:24
@@ -15,8 +15,6 @@ describe('Cache Detail Overview', () => {
cy.contains('Entries');
cy.contains('Configuration');
cy.contains('Metrics (Enabled)');

verifyCacheMetrics(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@andyuk1986 I removed this check because it depends too much in Infinispan and I believe we need a test for only those stats but not mixing checking that we can create stuff and then check metrics. Otherwise tests are too flaky and it's super hard to maintain in the long run.

@karesti karesti requested a review from andyuk1986 October 9, 2023 15:39
@karesti
Copy link
Collaborator Author

karesti commented Oct 9, 2023

@andyuk1986 this should be ready for review from your side (to close the issue)

@karesti karesti merged commit d0d50d3 into infinispan:14.x Oct 10, 2023
1 check passed
@karesti karesti deleted the fix-rbac branch October 10, 2023 07:26
@karesti karesti removed the request for review from andyuk1986 October 10, 2023 07:27
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.

2 participants