Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.0.0
-
5.0.0-2241
-
Untriaged
-
No
Description
1. Install spock version 5.0.0-2241 using testrunner install script.
python ./scripts/install.py -i query1.ini -p version=5.0.0-2241,product=cb,parallel=true,vbuckets=1024,init_nodes=true |
2. create a bucket test with password.
3. Do not set indexer storage mode.
4. Try creating a user with query_index_manager authority with incorrect bucketname and password:
curl -X PUT http://localhost:8091/settings/rbac/users/builtin/idxmanage -d "name=Idx Manage&roles=query_manage_index[bucket1]&password=password" -u Administrator:password
"Malformed or unknown roles: [query_manage_index[bucket1]]
5.Set the indexer storage mode.
6. After giving correct bucketname and wrong password,no error is reported:
curl -X PUT http://172.23.107.158:8091/settings/rbac/users/builtin/idxmanage -d "name=Idx Manage&roles=query_manage_index[test]&password=password" -u Administrator:password
Is this a correct error message in all the above scenarios?