KEYCLOAK-5937: Not possible to select role w/ hardocded LDAP role mapper

This commit is contained in:
Stan Silvert 2017-11-30 12:07:19 -05:00
parent 4daf6aaec5
commit 4d4ee33d1d

View file

@ -2493,12 +2493,12 @@ module.controller('RoleSelectorModalCtrl', function($scope, realm, config, confi
};
$scope.selectRealmRole = function() {
config[configName] = $scope.selectedRealmRole.role.name;
config[configName] = [$scope.selectedRealmRole.role.name];
$modalInstance.close();
}
$scope.selectClientRole = function() {
config[configName] = $scope.client.selected.clientId + "." + $scope.selectedClientRole.role.name;
config[configName] = [$scope.client.selected.clientId + "." + $scope.selectedClientRole.role.name];
$modalInstance.close();
}