[Bug] 同一资产两个授权,一个排除root,一个授权所有账号,资产连接时还能勾选root,连接时提示root无权限连接
Maintainers usually reply within 1 day
@w940853815 is already working on this.
Since Dec 1, 2026.
Assessment
This issue has not been assessed yet.
Description
Product Version
v4.10.20
Product Edition
- Community Edition
- Enterprise Edition
- Enterprise Trial Edition
Installation Method
- Online Installation (One-click command installation)
- Offline Package Installation
- All-in-One
- 1Panel
- Kubernetes
- Source Code
Environment Information
v4.10.20 企业版
基于https://github.com/jumpserver/jumpserver/issues/17644、https://github.com/jumpserver/lina/pull/5975修复了排除账号的bug。
出现了新的bug。
🐛 Bug Description
一个资产有root账号和几个普通账号,建了两条授权规则,一条授权所有普通账号,排除root,一条授权所有账号,然后连接资产的时候可以选择到所有账号,包括root,用root连接报错了,提示无权限。
Recurrence Steps
1.在v4.10.20的基础上,先修复排除账号的bug。
2.创建一个资产,添加root和两个普通账号。
3.创建两条授权,一条授权所有普通账号,排除root,一条授权所有账号。
4.web端连接该资产,可以选到root账号。连接后报错。
Expected Behavior
No response
Additional Information
No response
Attempted Solutions
No response
- Dominant language
- Python
- Stars
- 32.1k
- Forks
- 5.8k
- Avg merge
- 17h 14m
- Merged PRs (30d)
- 217
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jumpserver/jumpserver
-
⏳ Pending feedback 🐛 Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jumpserver/jumpserver#18282 · 1 comment ·
Maintainers usually reply within 1 day
-
[Feature] 支持对用户 / 用户组单独禁用 AI 助手,或隔离 AI 模型权限、控制 Token 消耗Possibly taken @ibuler claimed this today. Open⏳ Pending feedback ⭐️ Feature Request
jumpserver/jumpserver#18276 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
[Question] error 502Open⏳ Pending feedback 🤔 Question
Difficulty 4/5 3-5 days Newbie friendliness 35/100
jumpserver/jumpserver#18275 · 3 comments ·
Maintainers usually reply within 1 day
-
[Feature] 优化mysql web终端sql语句执行返回结果。Possibly taken @ibuler claimed this today. Open⭐️ Feature Request 🔔 Pending processing
jumpserver/jumpserver#18274 · 1 assignee ·
Maintainers usually reply within 1 day
-
🐛 Bug 🔔 Pending processing
Difficulty 3/5 1-2 days Newbie friendliness 48/100
jumpserver/jumpserver#18273 · 2 comments ·
Maintainers usually reply within 1 day
All issues in jumpserver/jumpserver
Similar issues
-
essreduce
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
[PORT] A2A: map audio file parts to audio content and ignore MIME parameters (TS→Py)Possibly taken A pull request linked to this issue is open or already merged. Openarea-a2a bug port python
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
strands-agents/harness-sdk#6697 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TigreGotico/orthography2ipa#2950 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TigreGotico/text2spoken#929 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100