Merge pull request #82 from hector-cortez/BUG-9221
9221 Unable to change authentication source on existing users SOLVED
This commit is contained in:
@@ -88,8 +88,6 @@ $oHeadPublisher->addExtJsScript('users/usersGroups', false); //adding a javas
|
|||||||
// $oHeadPublisher->addContent('users/usersGroups'); //adding a html file .html.
|
// $oHeadPublisher->addContent('users/usersGroups'); //adding a html file .html.
|
||||||
$oHeadPublisher->assign('USERS', $users);
|
$oHeadPublisher->assign('USERS', $users);
|
||||||
|
|
||||||
if ($ctab == 2) {
|
|
||||||
$oHeadPublisher->assign('hasAuthPerm', ($RBAC->userCanAccess('PM_SETUP_ADVANCE') == 1));
|
$oHeadPublisher->assign('hasAuthPerm', ($RBAC->userCanAccess('PM_SETUP_ADVANCE') == 1));
|
||||||
}
|
|
||||||
|
|
||||||
G::RenderPage('publish', 'extJs');
|
G::RenderPage('publish', 'extJs');
|
||||||
@@ -159,7 +159,7 @@ Ext.onReady(function(){
|
|||||||
deleteButton.enable();
|
deleteButton.enable();
|
||||||
groupsButton.enable();
|
groupsButton.enable();
|
||||||
//reassignButton.enable();
|
//reassignButton.enable();
|
||||||
// authenticationButton.enable();
|
authenticationButton.enable();
|
||||||
summaryButton.enable();
|
summaryButton.enable();
|
||||||
},
|
},
|
||||||
rowdeselect: function(sm){
|
rowdeselect: function(sm){
|
||||||
@@ -167,7 +167,7 @@ Ext.onReady(function(){
|
|||||||
deleteButton.disable();
|
deleteButton.disable();
|
||||||
groupsButton.disable();
|
groupsButton.disable();
|
||||||
//reassignButton.disable();
|
//reassignButton.disable();
|
||||||
//authenticationButton.disable();
|
authenticationButton.disable();
|
||||||
summaryButton.disable();
|
summaryButton.disable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -354,7 +354,7 @@ Ext.onReady(function(){
|
|||||||
store: store,
|
store: store,
|
||||||
cm: cmodel,
|
cm: cmodel,
|
||||||
sm: smodel,
|
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,
|
bbar: bbarpaging,
|
||||||
listeners: {
|
listeners: {
|
||||||
rowdblclick : EditUserAction
|
rowdblclick : EditUserAction
|
||||||
|
|||||||
Reference in New Issue
Block a user