diff --git a/core/src/main/java/hudson/model/Run.java b/core/src/main/java/hudson/model/Run.java index 7fa7b2c9f4..086b985237 100644 --- a/core/src/main/java/hudson/model/Run.java +++ b/core/src/main/java/hudson/model/Run.java @@ -1209,8 +1209,8 @@ public abstract class Run ,RunT extends Run { public String getEntryTitle(Run entry) { diff --git a/core/src/main/java/hudson/scm/SCM.java b/core/src/main/java/hudson/scm/SCM.java index 674148659b..2a58513657 100644 --- a/core/src/main/java/hudson/scm/SCM.java +++ b/core/src/main/java/hudson/scm/SCM.java @@ -325,5 +325,5 @@ public abstract class SCM implements Describable, ExtensionPoint { * Permission to create new tags. * @since 1.171 */ - public static final Permission TAG = new Permission(PERMISSIONS,"Tag", Permission.CREATE); + public static final Permission TAG = new Permission(PERMISSIONS,"Tag",Messages._SCM_TagPermission_Description(),Permission.CREATE); } diff --git a/core/src/main/resources/hudson/model/Messages.properties b/core/src/main/resources/hudson/model/Messages.properties index 3efce3083d..c96d5d9fe5 100644 --- a/core/src/main/resources/hudson/model/Messages.properties +++ b/core/src/main/resources/hudson/model/Messages.properties @@ -91,6 +91,11 @@ Run.BuildAborted=Build was aborted Run.MarkedExplicitly=explicitly marked to keep the record Run.Permissions.Title=Run Run.UnableToDelete=Unable to delete {0}: {1} +Run.DeletePermission.Description=\ + This permission allows users to manually delete specific builds from the build history. +Run.UpdatePermission.Description=\ + This permission allows users to update description and other properties of a build, \ + for example to leave notes about the cause of a build failure. Slave.InvalidConfig.Executors=Invalid slave configuration for {0}. Invalid # of executors. Slave.InvalidConfig.NoName=Invalid slave configuration. Name is empty diff --git a/core/src/main/resources/hudson/scm/Messages.properties b/core/src/main/resources/hudson/scm/Messages.properties index 9df19f2f78..243c51e30e 100644 --- a/core/src/main/resources/hudson/scm/Messages.properties +++ b/core/src/main/resources/hudson/scm/Messages.properties @@ -1,5 +1,8 @@ NullSCM.DisplayName=None SCM.Permissions.Title=SCM +SCM.TagPermission.Description=\ + This permission allows users to create a new tag in the source code repository \ + for a given build. SubversionSCM.ClockOutOfSync=\ WARNING: clock of the subversion server appears to be out of sync. This can result in inconsistent check out behavior.