Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.6.1
-
Untriaged
-
1
-
Unknown
-
CX Sprint 232, CX Sprint 240, CX Sprint 241
Description
The RBAC user not able to access the web console when having CBAS dataset's created and when the user role is not having "Analytics Admin".
Steps to reproduce:
- Create a 1 node cluster with data+index+query+analytics services
- Load beer-sample and then create an analytics dataset (with the admin user)
CREATE DATASET breweries ON `beer-sample` WHERE `type` = "brewery"; |
- Login to the Web Console with the new RBAC role (test)
Expected Output:
The user login should work and stays on the web console.
Actual Output:
The user login is happening successfully, however after few seconds (in 10-20 seconds) it's doing an automatic signout and prompting for login credentials.
Analysis:
When the issue happens, below error is observed from the logs where it's not able to fetch bucket insights.
Client-side error-report for user "test" on node 'ns_1@127.0.0.1': User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Failed to get bucket insights. Try refreshing the bucket insights. |
And granting "Analytics Admin" role to the user seems to be an interim solution to make this work. And this is observed in 6.6.1 and not able to reproduce the same on 6.6.0 version.