Navigation Menu

Skip to content

Commit

Permalink
Show warning for required version, because there is no ways to disabl…
Browse files Browse the repository at this point in the history
…e Extension point. Usage on such version will end with ClassNotFound exception. Fixed in [JENKINS-23127].
  • Loading branch information
KostyaSha committed May 22, 2014
1 parent d5178f3 commit efad46a
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -82,7 +82,10 @@ public static final class DescriptorImpl extends ProjectNamingStrategyDescriptor

@Override
public String getDisplayName() {
return Messages.RoleBasedAuthorizationStrategy_DisplayName();
String name = Messages.RoleBasedAuthorizationStrategy_DisplayName();
if (!RoleBasedAuthorizationStrategy.isCreateAllowed())
name += " (<font color=\"red\">(Require >1.565 core)</font>";
return name;
}

}
Expand Down

0 comments on commit efad46a

Please sign in to comment.