Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit fb554bb

Browse files
sabbyanandancppwfs
authored andcommitted
Hide task-launch button for VIEW-only users
1 parent bfdf0e1 commit fb554bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/app/tasks/task-definitions/task-definitions.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
class="btn btn-default" style="margin-left: 0;" title="Details" [disabled]="!item.dslText || !item.composed">
3838
<span class="glyphicon glyphicon-info-sign"></span>
3939
</button>
40-
<button type="button" (click)="launchTask(item)"
40+
<button type="button" [appRoles]="['ROLE_CREATE']" (click)="launchTask(item)"
4141
class="btn btn-default" style="margin-left: 0;" title="Launch">
4242
<span class="glyphicon glyphicon-play"></span>
4343
</button>

0 commit comments

Comments
 (0)