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
49bee0c3
Commit
49bee0c3
authored
May 14, 2015
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改主机添加或者修改没添加进ALL组bug
parent
b134c90b
Show 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 @
49bee0c3
File added
jasset/views.py
View file @
49bee0c3
...
...
@@ -4,6 +4,8 @@ import ast
from
django.db.models
import
Q
from
django.template
import
RequestContext
from
django.shortcuts
import
get_object_or_404
from
jperm.models
import
Perm
from
jumpserver.api
import
*
...
...
@@ -26,6 +28,8 @@ def get_host_groups(groups):
if
group
:
group
=
group
[
0
]
ret
.
append
(
group
)
group_all
=
get_object_or_404
(
BisGroup
,
name
=
'ALL'
)
ret
.
append
(
group_all
)
return
ret
...
...
jumpserver.conf
View file @
49bee0c3
...
...
@@ -23,7 +23,7 @@ root_pw = secret234
[
websocket
]
web_socket_host
=
192
.
168
.
20
.
209
:
3000
web_socket_host
=
192
.
168
.
8
.
66
:
3000
[
mail
]
...
...
static/.DS_Store
0 → 100644
View file @
49bee0c3
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