Skip to content

Commit

Permalink
AMBARI-25065 - Unable to add user in views 'grant permissions'
Browse files Browse the repository at this point in the history
* 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
Akhil S Naik authored and rlevas committed Jan 14, 2019
1 parent a6aefd1 commit 8245597
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 8245597

Please sign in to comment.