fix: 修复change account perm 问题

pull/8991/head
feng 2022-10-25 14:26:56 +08:00
parent f743dea1fd
commit d95ced5109
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
gather_facts: yes
tasks:
- name: Get info
set_fact:
ansible.builtin.set_fact:
info:
arch: "{{ ansible_architecture }}"
distribution: "{{ ansible_distribution }}"

View File

@ -39,7 +39,6 @@ exclude_permissions = (
('assets', 'assetuser', '*', '*'),
('assets', 'gathereduser', 'add,delete,change', 'gathereduser'),
('assets', 'accountbackupplanexecution', 'delete,change', 'accountbackupplanexecution'),
('assets', 'account', 'change', 'account'),
# TODO 暂时去掉历史账号的权限
('assets', 'account', '*', 'assethistoryaccount'),
('assets', 'account', '*', 'assethistoryaccountsecret'),