1
0
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:
Michael Abashian 2017-06-28 17:33:13 -04:00
parent 8140fc2fb2
commit 9de9f79dee

View File

@ -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="">