Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
AMBARI-25065 - Unable to add user in views 'grant permissions'
* AMBARI-25065 - Unable to add user in views 'grant permissions' (asnaik)

* AMBARI-25065 - Unable to add user in views 'grant permissions' (asnaik)

* AMBARI-25065 - Unable to add user in views 'grant permissions' Test case correction (asnaik)
  • Loading branch information
Akhilsnaik authored and rlevas committed Jan 14, 2019
1 parent a6aefd1 commit 8245597fb1d4ec62e1e9648900f0a01f5f0d66b3
Showing 2 changed files with 1 addition and 2 deletions.
@@ -40,7 +40,6 @@ angular.module('ambariAdminConsole')
return $http.get(
Settings.baseUrl + '/users?'
+ 'Users/user_name.matches(.*'+name+'.*)'
+ '&from=0&page_size=20'
);
},
getWithRoles: function(userId) {
@@ -30,7 +30,7 @@ describe('#Editablelist directive', function () {
$modal = _$modal_;
$httpBackend = _$httpBackend_;
$httpBackend.expectGET('views/clusters/clusterInformation.html').respond(200);
$httpBackend.whenGET(/\/api\/v1\/users\?Users\/user_name\.matches\(\.\*\.\*\)&from=0&page_size=20&_=\d+/).respond(200, {
$httpBackend.whenGET(/\/api\/v1\/users\?Users\/user_name\.matches\(\.\*\.\*\)&_=\d+/).respond(200, {
items: [
{
Users: {

0 comments on commit 8245597

Please sign in to comment.