要给AWX用户具有有限权限来编辑模板的通知设置的能力,可以按照以下步骤进行操作:
awx-manage create_role --name "Limited Template Editor" --description "Role with limited permissions to edit templates"
awx-manage edit_role --name "Limited Template Editor" --description "Role with limited permissions to edit templates"
---
- name: "Allow editing notification settings"
type: "job_template"
permissions:
- "change_notification_templates"
- "view_job_template"
- "view_notification_templates"
- "add_notification_templates"
- "delete_notification_templates"
roles:
- "Limited Template Editor"
notification_settings.yml
,然后使用awx-manage命令将配置应用到AWX。awx-manage loaddata notification_settings.yml
awx-manage update_users_roles --username --role "Limited Template Editor"
通过按照上述步骤操作,AWX用户将具有有限权限来编辑模板的通知设置的能力。
上一篇:AWX无法清理作业
下一篇:AWX自定义虚拟环境未显示出来