bkruse: branch 2.0 r4231 - /branches/2.0/config/js/users.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Nov 26 16:37:13 CST 2008
Author: bkruse
Date: Wed Nov 26 16:37:13 2008
New Revision: 4231
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4231
Log:
We want call origination as well, by default, when manager accounts are enabled.
Modified:
branches/2.0/config/js/users.js
Modified: branches/2.0/config/js/users.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/users.js?view=diff&rev=4231&r1=4230&r2=4231
==============================================================================
--- branches/2.0/config/js/users.js (original)
+++ branches/2.0/config/js/users.js Wed Nov 26 16:37:13 2008
@@ -435,7 +435,7 @@
x.new_action('update', u, 'callwaiting', ASTGUI.getFieldValue('edit_callWaiting') ); tmp_obj['callwaiting'] = ASTGUI.getFieldValue('edit_callWaiting') ;
x.new_action('update', u, 'hasmanager', ASTGUI.getFieldValue('edit_cti') ); tmp_obj['hasmanager'] = ASTGUI.getFieldValue('edit_cti') ;
if( ASTGUI.getFieldValue('edit_cti') == 'yes' ){
- var tmp_permisions = 'system,call,log,verbose,command,agent,user,config' ;
+ var tmp_permisions = 'system,call,log,verbose,command,agent,user,config,originate' ;
x.new_action('update', u, 'managerread', tmp_permisions); tmp_obj['managerread'] = tmp_permisions ;
x.new_action('update', u, 'managerwrite', tmp_permisions); tmp_obj['managerwrite'] = tmp_permisions ;
}else{
More information about the asterisk-gui-commits
mailing list