You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the existing Infinispan authorization logic, the admin and deployer users should be able to create a cache, others see Create cache configuration button, which allows to create the cache config and download it. Seems that there is regression in 15.x (which I have just found by manual testing), so when the deployer clicks on Create a cache button, the "Unauthorized access" page is shown.
Expected behavior
The deployer user should be able to create a cache.
Actual behavior
The deployer user is not able to create a cache. The Unauthorized access page is shown to him.
How to Reproduce?
Create a deployer user with command: ./cli.sh user create deployer -p password -g deployer
The start the server and login with deployer user. You can see the button Create a cache.
Click on the button, and you will see the following screen:
Output of uname -a or ver
Linux fedora 6.10.12-200.fc40.x86_64
Infinispan version or git rev
15.x
The text was updated successfully, but these errors were encountered:
I will add a test covering this scenario, as our RBAC tests were testing only that the deployer can see the button, assuming that the button will lead to a proper page.
@andyuk1986 please change the screenshot (or remove the header)
andyuk1986
changed the title
The cache create page for deployer user takes to "Have no ADMIN access page"
The cache create page for deployer user takes to "Unauthorized access" page
Nov 5, 2024
Describe the bug
From the existing Infinispan authorization logic, the admin and deployer users should be able to create a cache, others see
Create cache configuration
button, which allows to create the cache config and download it. Seems that there is regression in 15.x (which I have just found by manual testing), so when thedeployer
clicks onCreate a cache
button, the "Unauthorized access" page is shown.Expected behavior
The
deployer
user should be able to create a cache.Actual behavior
The
deployer
user is not able to create a cache. TheUnauthorized access
page is shown to him.How to Reproduce?
Create a
deployer
user with command:./cli.sh user create deployer -p password -g deployer
The start the server and login with
deployer
user. You can see the buttonCreate a cache
.Click on the button, and you will see the following screen:
Output of
uname -a
orver
Linux fedora 6.10.12-200.fc40.x86_64
Infinispan version or git rev
15.x
The text was updated successfully, but these errors were encountered: