From b8ae0ed5656e0669ebd4b9a8d0acaa6adb91d41e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B9=BF=E5=AE=8F=E4=BC=9F?= Date: Sun, 15 Nov 2015 17:01:02 +0800 Subject: [PATCH] some bug fix --- docs/requirements.txt | 5 +- jperm/views.py | 1 - jumpserver.conf | 4 +- jumpserver/templatetags/__init__.pyc | Bin 170 -> 169 bytes jumpserver/templatetags/mytags.py | 107 +++------------------------ juser/user_api.py | 48 +----------- 6 files changed, 18 insertions(+), 147 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index d0d83cafc..ea56ab0c6 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -6,4 +6,7 @@ paramiko==1.15.2 ecdsa==0.13 MySQL-python==1.2.5 django-uuidfield==0.5.0 -psutil==2.2.1 \ No newline at end of file +psutil==2.2.1 +xlsxwriter==0.7.7 +xlrd==0.9.4 +django-bootstrap-form \ No newline at end of file diff --git a/jperm/views.py b/jperm/views.py index a9df09790..279d8338a 100644 --- a/jperm/views.py +++ b/jperm/views.py @@ -76,7 +76,6 @@ def perm_rule_detail(request): return my_render('jperm/perm_rule_detail.html', render_data, request) -@require_role('admin') def perm_rule_add(request): """ diff --git a/jumpserver.conf b/jumpserver.conf index 7261fcf38..6297ab00a 100644 --- a/jumpserver.conf +++ b/jumpserver.conf @@ -9,11 +9,11 @@ log = debug host = 127.0.0.1 port = 3306 user = jumpserver -password =mysql1234 +password = mysql234 database = jumpserver [websocket] -web_socket_host = 127.0.0.1:3000 +web_socket_host = j:3000 [mail] mail_enable = 1 diff --git a/jumpserver/templatetags/__init__.pyc b/jumpserver/templatetags/__init__.pyc index 1e92dc2cb53192d09839aab48cb0c7a2e57b7978..bac11b5a989df3ee7af965034780b23e2102266c 100644 GIT binary patch delta 27 jcmZ3*xRR0M;wN6N%3D`MCvt?a8#6F4=;s$qOmPDMilhl8 delta 28 jcmZ3