提交 2525addb 编写于 作者: K kohsuke

Adding tooltip text.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12720 71c3de6d-444a-0410-be80-ed276b4c234a
上级 f0596594
......@@ -9,7 +9,6 @@ import hudson.model.Descriptor.FormException;
import hudson.model.Fingerprint.RangeSet;
import hudson.model.RunMap.Constructor;
import hudson.model.listeners.RunListener;
import hudson.model.PermalinkProjectAction.Permalink;
import hudson.remoting.AsyncFutureImpl;
import hudson.scm.ChangeLogSet;
import hudson.scm.ChangeLogSet.Entry;
......@@ -1139,8 +1138,8 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
private static final Logger LOGGER = Logger.getLogger(AbstractProject.class.getName());
public static final Permission BUILD = new Permission(PERMISSIONS, "Build", Permission.UPDATE);
public static final Permission WORKSPACE = new Permission(PERMISSIONS, "Workspace", Permission.READ);
public static final Permission BUILD = new Permission(PERMISSIONS, "Build", Messages._AbstractProject_BuildPermission_Description(), Permission.UPDATE);
public static final Permission WORKSPACE = new Permission(PERMISSIONS, "Workspace", Messages._AbstractProject_WorkspacePermission_Description(), Permission.READ);
/**
* Permission to abort a build. For now, let's make it the same as {@link #BUILD}
*/
......
......@@ -12,6 +12,12 @@ AbstractProject.NoWorkspace=No workspace is available, so can''t check for updat
AbstractProject.PollingABorted=SCM polling aborted
AbstractProject.ScmAborted=SCM check out aborted
AbstractProject.WorkspaceOffline=Workspace is offline.
AbstractProject.BuildPermission.Description=\
This permission grants the ability to start a new build.
AbstractProject.WorkspacePermission.Description=\
This permission grants the ability to retrieve the contents of a workspace \
Hudson checked out for performing builds. If you don't want an user to access \
the source code, you can do so by revoking this permission.
Api.MultipleMatch=XPath "{0}" matched {1} nodes. \
Create XPath that only matches one, or use the "wrapper" query parameter to wrap them all under a root element.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册