diff options
author | David Walsh <davidwalsh83@gmail.com> | 2017-08-17 20:46:43 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-08-17 20:46:43 +0200 |
commit | 2f81eea6219ce9d5704765a539e7272fd320e628 (patch) | |
tree | 3f0b94bacdc98c4bc39b3e47957922e37e90076b /extensions/PhabBugz/template | |
parent | e95705a941992f0d9fb59bdc5ec951c4ce204330 (diff) | |
download | bugzilla-2f81eea6219ce9d5704765a539e7272fd320e628.tar.gz bugzilla-2f81eea6219ce9d5704765a539e7272fd320e628.tar.xz |
Bug 1389372 - Add REST API endpoint to validate whether a BMO user ID can see a given BMO bug
Diffstat (limited to 'extensions/PhabBugz/template')
-rw-r--r-- | extensions/PhabBugz/template/en/default/hook/global/user-error-errors.html.tmpl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extensions/PhabBugz/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/PhabBugz/template/en/default/hook/global/user-error-errors.html.tmpl index 60cd08923..1457e3525 100644 --- a/extensions/PhabBugz/template/en/default/hook/global/user-error-errors.html.tmpl +++ b/extensions/PhabBugz/template/en/default/hook/global/user-error-errors.html.tmpl @@ -18,8 +18,22 @@ [% title = "Invalid Phabricator Sync Groups" %] You must provide a comma delimited list of security groups to sync with Phabricator. + [% ELSIF error == "invalid_phabricator_revision_id" %] [% title = "Invalid Phabricator Revision ID" %] You must provide a valid Phabricator revision ID. +[% ELSIF error == "phabricator_not_enabled" %] + [% title = "Phabricator Support Not Enabled" %] + The Phabricator to Bugzilla library, PhabBugz, + is not enabled in Bugzilla. + +[% ELSIF error == "phabricator_invalid_request_params" %] + [% title = "Incomplete Information Provided by Phabricator" %] + The parameters 'user_id' and '[% terms.bug %]_id' must be provided. + +[% ELSIF error == "phabricator_unauthorized_user" %] + [% title = "Unauthorized User" %] + You do not have permission to use this endpoint. + [% END %] |