Merge pull request #82 from hector-cortez/BUG-9221

9221 Unable to change authentication source on existing users SOLVED
This commit is contained in:
julceslauhub
2012-06-18 20:33:20 -07:00
2 changed files with 3 additions and 5 deletions

View File

@@ -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');

View File

@@ -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