mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 02:30:01 -03:30
Hide delete icon when user doesn't have permissions to delete job
This commit is contained in:
@@ -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="">
|
||||
|
||||
Reference in New Issue
Block a user