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
a5e59e67
Unverified
Commit
a5e59e67
authored
Aug 14, 2019
by
老广
Committed by
GitHub
Aug 14, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3121 from jumpserver/dev
Dev
parents
d8ee6d60
907d93bc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
31 deletions
+25
-31
README.md
README.md
+18
-28
node.py
apps/assets/models/node.py
+1
-1
serializers.py
apps/common/mixins/serializers.py
+4
-1
asset_permission_detail.html
apps/perms/templates/perms/asset_permission_detail.html
+2
-1
No files found.
README.md
View file @
a5e59e67
...
...
@@ -7,27 +7,20 @@
[

](https://www.ansible.com/)
[

](http://www.paramiko.org/)
----
Jumpserver 是全球首款完全开源的堡垒机,使用 GNU GPL v2.0 开源协议,是符合 4A 的
专业运维
审计系统。
Jumpserver 是全球首款完全开源的堡垒机,使用 GNU GPL v2.0 开源协议,是符合 4A 的
运维安全
审计系统。
Jumpserver 使用 Python / Django 进行开发,遵循 Web 2.0 规范,配备了业界领先的 Web Terminal 解决方案,交互界面美观、用户体验好。
Jumpserver 采纳分布式架构,支持多机房跨区域部署,
中心节点提供 API,各机房部署登录节点,可横向扩展、无
并发限制。
Jumpserver 采纳分布式架构,支持多机房跨区域部署,
支持横向扩展,无资产数量及
并发限制。
改变世界,从一点点开始。
-
[
English Version
](
https://github.com/jumpserver/jumpserver/blob/master/README_EN.md
)
### 功能
### 核心功能列表
----
<table
class=
"subscription-level-table"
>
<tr
class=
"subscription-level-tr-border"
>
<th
style=
"background-color: #1ab394;color: #ffffff;"
colspan=
"3"
>
Jumpserver提供的堡垒机必备功能
</th>
</tr>
<tr
class=
"subscription-level-tr-border"
>
<td
class=
"features-first-td-background-style"
rowspan=
"4"
>
身份验证 Authentication
</td>
<td
class=
"features-second-td-background-style"
rowspan=
"3"
>
登录认证
...
...
@@ -36,11 +29,11 @@ Jumpserver 采纳分布式架构,支持多机房跨区域部署,中心节点
</td>
</tr>
<tr
class=
"subscription-level-tr-border"
>
<td
class=
"features-third-td-background-style"
>
LDAP认证
<td
class=
"features-third-td-background-style"
>
LDAP
认证
</td>
</tr>
<tr
class=
"subscription-level-tr-border"
>
<td
class=
"features-third-td-background-style"
>
支持OpenID,实现单点登录
<td
class=
"features-third-td-background-style"
>
支持
OpenID,实现单点登录
</td>
</tr>
<tr
class=
"subscription-level-tr-border"
>
...
...
@@ -180,35 +173,32 @@ Jumpserver 采纳分布式架构,支持多机房跨区域部署,中心节点
</tr>
</table>
### 开始使用
### 安装及使用文档
----
-
快速开始文档
[
Docker 安装
](
http://docs.jumpserver.org/zh/docs/dockerinstall.html
)
-
[
Docker 快速安装文档
](
http://docs.jumpserver.org/zh/docs/dockerinstall.html
)
-
[
Step by Step 安装文档
](
http://docs.jumpserver.org/zh/docs/step_by_step.html
)
-
[
完整文档
](
http://docs.jumpserver.org
)
-
Step by Step 安装文档
[
详细部署
](
http://docs.jumpserver.org/zh/docs/step_by_step.html
)
-
也可以查看我们完整文档
[
文档
](
http://docs.jumpserver.org
)
### Demo、视频 和 截图
### 演示视频和系统截图
----
我们提供了
Demo 、演示视频和截图可以让你快速了解 Jumpserver
我们提供了
演示视频和系统截图可以让你快速了解 Jumpserver。
-
[
Demo
](
https://demo.jumpserver.org/auth/login/?next=/
)
-
[
视频
](
https://fit2cloud2-offline-installer.oss-cn-beijing.aliyuncs.com/tools/Jumpserver%20%E4%BB%8B%E7%BB%8Dv1.4.mp4
)
-
[
截图
](
http://docs.jumpserver.org/zh/docs/snapshot.html
)
-
[
演示视频
](
https://jumpserver.oss-cn-hangzhou.aliyuncs.com/jms-media/%E3%80%90%E6%BC%94%E7%A4%BA%E8%A7%86%E9%A2%91%E3%80%91Jumpserver%20%E5%A0%A1%E5%9E%92%E6%9C%BA%20V1.5.0%20%E6%BC%94%E7%A4%BA%E8%A7%86%E9%A2%91%20-%20final.mp4
)
-
[
系统截图
](
http://docs.jumpserver.org/zh/docs/snapshot.html
)
### SDK
----
我们还编写了一些SDK,供你的其它系统快速和 Jumpserver API 交互
-
[
Python
](
https://github.com/jumpserver/jumpserver-python-sdk
)
Jumpserver其它组件使用这个SDK完成交互
-
[
Java
](
https://github.com/KaiJunYan/jumpserver-java-sdk.git
)
恺珺同学提供的Java版本的SDK
我们编写了一些SDK,供你的其它系统快速和 Jumpserver API 交互。
-
[
Python
](
https://github.com/jumpserver/jumpserver-python-sdk
)
Jumpserver 其它组件使用这个 SDK 完成交互
-
[
Java
](
https://github.com/KaiJunYan/jumpserver-java-sdk.git
)
恺珺同学提供的 Java 版本的 SDK
### License & Copyright
----
Copyright (c) 2014-2019 飞致云 FIT2CLOUD, All rights reserved.
Licensed under The GNU General Public License version 2 (GPLv2) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
...
...
apps/assets/models/node.py
View file @
a5e59e67
...
...
@@ -211,7 +211,7 @@ class AssetsAmountMixin:
cached
=
cache
.
get
(
cache_key
)
if
cached
is
not
None
:
return
cached
assets_amount
=
self
.
get_all_assets
()
.
only
(
'id'
)
.
count
()
assets_amount
=
self
.
get_all_assets
()
.
count
()
self
.
assets_amount
=
assets_amount
return
assets_amount
...
...
apps/common/mixins/serializers.py
View file @
a5e59e67
...
...
@@ -49,6 +49,9 @@ class BulkListSerializerMixin(object):
"""
List of dicts of native values <- List of dicts of primitive datatypes.
"""
if
not
self
.
instance
:
return
super
()
.
to_internal_value
(
data
)
if
html
.
is_html_input
(
data
):
data
=
html
.
parse_html_list
(
data
)
...
...
@@ -81,7 +84,7 @@ class BulkListSerializerMixin(object):
pk
=
item
[
"pk"
]
else
:
raise
ValidationError
(
"id or pk not in data"
)
child
=
self
.
instance
.
get
(
id
=
pk
)
child
=
self
.
instance
.
get
(
id
=
pk
)
if
self
.
instance
else
None
self
.
child
.
instance
=
child
self
.
child
.
initial_data
=
item
# raw
...
...
apps/perms/templates/perms/asset_permission_detail.html
View file @
a5e59e67
...
...
@@ -189,7 +189,8 @@ function updateSystemUser(system_users) {
};
requestApi
({
url
:
the_url
,
body
:
JSON
.
stringify
(
body
)
body
:
JSON
.
stringify
(
body
),
success
:
function
()
{
window
.
location
.
reload
()}
});
}
...
...
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