This defect is to track implementation of RBAC roles with FTS.
With build 1759, accessing FTS tab using bucket_admin[default] role leads to error below.
a) Configure CB with LDAP and create a user in LDAP. Create a cluster of node where there is an FTS node.
b) Using Administrator create an FTS index on default bucket
c) Assign user a) bucket_admin[default] role
d) Login as user in a) and navigate to Views - > FTS tab.
{"message":"Forbidden. User needs one of the following permissions","permissions":["cluster.admin.internal
|
!all"]}
|
Client-side error-report for user undefined on node 'ns_1@172.23.107.63': User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0 Got unhandled javascript error: name: TypeError; message: (code + "").split is not a function; fileName: http://172.23.107.63:8091/_p/ui/fts/fts.js; lineNumber: 443; columnNumber: 14; stack: errorMessage@http://172.23.107.63:8091/_p/ui/fts/fts.js:443:14 IndexesCtrl/$scope.refreshIndexNames/<@http://172.23.107.63:8091/_p/ui/fts/static/js/index.js:38:35 $http/promise.error/<@http://172.23.107.63:8091/ui/libs/angular.js:10305:13 processQueue@http://172.23.107.63:8091/ui/libs/angular.js:14792:28 scheduleProcessQueue/<@http://172.23.107.63:8091/ui/libs/angular.js:14808:27 $RootScopeProvider/this.$get</Scope.prototype.$eval@http://172.23.107.63:8091/ui/libs/angular.js:16052:16 $RootScopeProvider/this.$get</Scope.prototype.$digest@http://172.23.107.63:8091/ui/libs/angular.js:15870:15 $RootScopeProvider/this.$get</Scope.prototype.$apply@http://172.23.107.63:8091/ui/libs/angular.js:16160:13 done@http://172.23.107.63:8091/ui/libs/angular.js:10589:36 completeRequest@http://172.23.107.63:8091/ui/libs/angular.js:10787:7 requestLoaded@http://172.23.107.63:8091/ui/libs/angular.js:10728:1 ;
|