Skip to content

Commit

Permalink
Making comment a TODO at @stephenc’s request.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Aug 8, 2016
1 parent 8750059 commit a5b3b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/git/UserRemoteConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public FormValidation doCheckUrl(@AncestorInPath Item item,
@QueryParameter String value) throws IOException, InterruptedException {

// Normally this permission is hidden and implied by Item.CONFIGURE, so from a view-only form you will not be able to use this check.
// (Under certain circumstances being granted only USE_OWN might suffice, though this presumes a fix of JENKINS-31870.)
// (TODO under certain circumstances being granted only USE_OWN might suffice, though this presumes a fix of JENKINS-31870.)
if (item == null || !item.hasPermission(CredentialsProvider.USE_ITEM)) {
return FormValidation.ok();
}
Expand Down

0 comments on commit a5b3b81

Please sign in to comment.