Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
58fd4374
Commit
58fd4374
authored
May 15, 2015
by
ibuler
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wangyong'
parents
f89d444d
49bee0c3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
1 deletion
+5
-1
.DS_Store
.DS_Store
+0
-0
views.py
jasset/views.py
+4
-0
jumpserver.conf
jumpserver.conf
+1
-1
.DS_Store
static/.DS_Store
+0
-0
No files found.
.DS_Store
0 → 100644
View file @
58fd4374
File added
jasset/views.py
View file @
58fd4374
...
@@ -4,6 +4,8 @@ import ast
...
@@ -4,6 +4,8 @@ import ast
from
django.db.models
import
Q
from
django.db.models
import
Q
from
django.template
import
RequestContext
from
django.template
import
RequestContext
from
django.shortcuts
import
get_object_or_404
from
jperm.models
import
Perm
from
jperm.models
import
Perm
from
jumpserver.api
import
*
from
jumpserver.api
import
*
...
@@ -26,6 +28,8 @@ def get_host_groups(groups):
...
@@ -26,6 +28,8 @@ def get_host_groups(groups):
if
group
:
if
group
:
group
=
group
[
0
]
group
=
group
[
0
]
ret
.
append
(
group
)
ret
.
append
(
group
)
group_all
=
get_object_or_404
(
BisGroup
,
name
=
'ALL'
)
ret
.
append
(
group_all
)
return
ret
return
ret
...
...
jumpserver.conf
View file @
58fd4374
...
@@ -23,7 +23,7 @@ root_pw = secret234
...
@@ -23,7 +23,7 @@ root_pw = secret234
[
websocket
]
[
websocket
]
web_socket_host
=
192
.
168
.
20
.
209
:
3000
web_socket_host
=
192
.
168
.
8
.
66
:
3000
[
mail
]
[
mail
]
...
...
static/.DS_Store
0 → 100644
View file @
58fd4374
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment