mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Hide delete icon when user doesn't have permissions to delete job
This commit is contained in:
parent
8140fc2fb2
commit
9de9f79dee
@ -50,7 +50,7 @@
|
||||
data-placement="top"
|
||||
ng-click="deleteJob()"
|
||||
ng-hide="job_status == 'running' ||
|
||||
job_status == 'pending' "
|
||||
job_status == 'pending' || !job.summary_fields.user_capabilities.delete"
|
||||
aw-tool-tip="Delete"
|
||||
data-original-title=""
|
||||
title="">
|
||||
|
Loading…
Reference in New Issue
Block a user