mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-28 15:57:23 +00:00
fix: 修复change account perm 问题
This commit is contained in:
parent
f743dea1fd
commit
d95ced5109
@ -2,7 +2,7 @@
|
|||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
tasks:
|
tasks:
|
||||||
- name: Get info
|
- name: Get info
|
||||||
set_fact:
|
ansible.builtin.set_fact:
|
||||||
info:
|
info:
|
||||||
arch: "{{ ansible_architecture }}"
|
arch: "{{ ansible_architecture }}"
|
||||||
distribution: "{{ ansible_distribution }}"
|
distribution: "{{ ansible_distribution }}"
|
||||||
|
@ -39,7 +39,6 @@ exclude_permissions = (
|
|||||||
('assets', 'assetuser', '*', '*'),
|
('assets', 'assetuser', '*', '*'),
|
||||||
('assets', 'gathereduser', 'add,delete,change', 'gathereduser'),
|
('assets', 'gathereduser', 'add,delete,change', 'gathereduser'),
|
||||||
('assets', 'accountbackupplanexecution', 'delete,change', 'accountbackupplanexecution'),
|
('assets', 'accountbackupplanexecution', 'delete,change', 'accountbackupplanexecution'),
|
||||||
('assets', 'account', 'change', 'account'),
|
|
||||||
# TODO 暂时去掉历史账号的权限
|
# TODO 暂时去掉历史账号的权限
|
||||||
('assets', 'account', '*', 'assethistoryaccount'),
|
('assets', 'account', '*', 'assethistoryaccount'),
|
||||||
('assets', 'account', '*', 'assethistoryaccountsecret'),
|
('assets', 'account', '*', 'assethistoryaccountsecret'),
|
||||||
|
Loading…
Reference in New Issue
Block a user