Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-13736] fixing getIconFileName for tagging
the icon should display whenever the user has permission, since we can have multiple tags
  • Loading branch information
Rob Petti committed May 11, 2012
1 parent 6cb1885 commit 8e57d86
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -74,7 +74,7 @@ public String getView() {
}

public String getIconFileName() {
if (tag == null && !Hudson.getInstance().hasPermission(Hudson.ADMINISTER))
if (!getACL().hasPermission(getPermission()))
return null;
return "save.gif";
}
Expand Down

0 comments on commit 8e57d86

Please sign in to comment.