Skip to content

Commit b2559cf

Browse files
allow agent edit calllimit
1 parent f76cd97 commit b2559cf

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

build/MagnusBilling-current.tar.gz

-642 Bytes
Binary file not shown.

classic/src/view/user/Form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Ext.define('MBilling.view.user.Form', {
392392
defaults: {
393393
labelAlign: 'right',
394394
hidden: !haveServiceMenu,
395-
readOnly: !App.user.isAdmin,
395+
readOnly: App.user.isClient,
396396
allowBlank: true,
397397
flex: 1
398398
},

protected/controllers/UserController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ class UserController extends Controller
8888
'credit',
8989
'id_user',
9090
'id_group_agent',
91-
'calllimit',
9291
'restriction',
9392
'restriction_use',
9493
];

script/install.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -766,12 +766,6 @@ findtime = 15552000
766766
bantime = -1
767767
768768
769-
[apache-auth]
770-
enabled = true
771-
port = http,https
772-
logpath = /var/log/apache2/error.log
773-
maxretry = 5
774-
775769
[ssh]
776770
enablem=true
777771
backend=systemd

0 commit comments

Comments
 (0)