diff --git a/apps/assets/automations/gather_facts/host/posix/main.yml b/apps/assets/automations/gather_facts/host/posix/main.yml index 6e900fccb..f42635458 100644 --- a/apps/assets/automations/gather_facts/host/posix/main.yml +++ b/apps/assets/automations/gather_facts/host/posix/main.yml @@ -2,7 +2,7 @@ gather_facts: yes tasks: - name: Get info - set_fact: + ansible.builtin.set_fact: info: arch: "{{ ansible_architecture }}" distribution: "{{ ansible_distribution }}" diff --git a/apps/rbac/const.py b/apps/rbac/const.py index 037358be0..71c8ea26d 100644 --- a/apps/rbac/const.py +++ b/apps/rbac/const.py @@ -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'),