From c58035c81e14d004e6ef9d2dcdcf03122270f091 Mon Sep 17 00:00:00 2001 From: Hector Cortez Date: Mon, 18 Jun 2012 18:06:25 -0400 Subject: [PATCH] 9221 Unable to change authentication source on existing users SOLVED - After upgrading from version 2.0.38 to 2.0.40, there is no way to change the user's authentication source, from internal to LDAP or to LDAP to internal. - Uncommented Buttom of the Authentication tab and activation in summary. --- workflow/engine/methods/users/usersGroups.php | 2 -- workflow/engine/templates/users/usersList.js | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/workflow/engine/methods/users/usersGroups.php b/workflow/engine/methods/users/usersGroups.php index 0a0489960..9fff413fd 100755 --- a/workflow/engine/methods/users/usersGroups.php +++ b/workflow/engine/methods/users/usersGroups.php @@ -88,8 +88,6 @@ $oHeadPublisher->addExtJsScript('users/usersGroups', false); //adding a javas // $oHeadPublisher->addContent('users/usersGroups'); //adding a html file .html. $oHeadPublisher->assign('USERS', $users); -if ($ctab == 2) { $oHeadPublisher->assign('hasAuthPerm', ($RBAC->userCanAccess('PM_SETUP_ADVANCE') == 1)); -} G::RenderPage('publish', 'extJs'); \ No newline at end of file diff --git a/workflow/engine/templates/users/usersList.js b/workflow/engine/templates/users/usersList.js index e81ac1fe1..6301b62c6 100755 --- a/workflow/engine/templates/users/usersList.js +++ b/workflow/engine/templates/users/usersList.js @@ -159,7 +159,7 @@ Ext.onReady(function(){ deleteButton.enable(); groupsButton.enable(); //reassignButton.enable(); - // authenticationButton.enable(); + authenticationButton.enable(); summaryButton.enable(); }, rowdeselect: function(sm){ @@ -167,7 +167,7 @@ Ext.onReady(function(){ deleteButton.disable(); groupsButton.disable(); //reassignButton.disable(); - //authenticationButton.disable(); + authenticationButton.disable(); summaryButton.disable(); } } @@ -354,7 +354,7 @@ Ext.onReady(function(){ store: store, cm: cmodel, sm: smodel, - tbar: [newButton, '-',summaryButton,'-', editButton, deleteButton, '-', groupsButton, /* '-',authenticationButton, */ {xtype: 'tbfill'}, /* _('ID_AUTH_SOURCES')+': ',comboAuthSources,'-', */ searchText,clearTextButton,searchButton], + tbar: [newButton, '-',summaryButton,'-', editButton, deleteButton, '-', groupsButton, '-',authenticationButton, {xtype: 'tbfill'}, /* _('ID_AUTH_SOURCES')+': ',comboAuthSources,'-', */ searchText,clearTextButton,searchButton], bbar: bbarpaging, listeners: { rowdblclick : EditUserAction