Indicate that "not found" may actually be a permission issue
We now restrict visibility to user dashboards, but there is the UX
problem that the client aggressively generates dashboard links that
now may return "not found." Ideally we would include a visibility bit
in the account information returned over every RPC, but that will
require some work, so until then, just give a slightly less confusing
error message.
Change-Id: Ie52033e0af31a962b186ddf75119e45ddb150de3
diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/GerritConstants.properties b/gerrit-gwtui/src/main/java/com/google/gerrit/client/GerritConstants.properties
index 3880f59..c5d5e8c 100644
--- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/GerritConstants.properties
+++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/GerritConstants.properties
@@ -25,7 +25,7 @@
<p>To continue, please sign-in again.</p>
notFoundTitle = Not Found
-notFoundBody = The page you requested was not found.
+notFoundBody = The page you requested was not found, or you do not have permission to view this page.
nameAlreadyUsedBody = The name is already in use.
noSuchAccountTitle = Code Review - Unknown User