1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 18:28:47 +02:00
phorge-phorge/src/applications/doorkeeper
epriestley 81fa847bc5 Make "JIRA Issues" field work better with noncredentialed accounts
Summary:
Currently, users get an error when making any changes to this field if they don't have a linked JIRA account.

Instead:

  - We should only raise an error if they're trying to //add// issues, and only on the new issues. It's always fine to remove issues, and existing issues the author can't see are also fine.
  - When we can't add things because there's no account (vs because there's a permissions error or they don't exist), raise a more tailored exception.

Test Plan:
  - As JIRA and non-JIRA users, made various edits to this field.
  - Got appropriate exceptions, including better tailoring.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: mbishopim3, epriestley

Differential Revision: https://secure.phabricator.com/D8676
2014-04-02 12:03:59 -07:00
..
application Add JIRA doorkeeper and remarkup support 2013-09-03 17:27:38 -07:00
bridge Make "JIRA Issues" field work better with noncredentialed accounts 2014-04-02 12:03:59 -07:00
controller Move PhabricatorTagView to PHUITagView 2014-01-14 14:09:52 -08:00
engine Make "JIRA Issues" field work better with noncredentialed accounts 2014-04-02 12:03:59 -07:00
exception Make "JIRA Issues" field work better with noncredentialed accounts 2014-04-02 12:03:59 -07:00
option Add a configuration option to put Asana tasks into Asana projects 2013-11-25 17:40:12 -08:00
query Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
remarkup Move PhabricatorTagView to PHUITagView 2014-01-14 14:09:52 -08:00
storage Explain policy exception rules to users 2013-09-27 08:43:41 -07:00
view Move PhabricatorTagView to PHUITagView 2014-01-14 14:09:52 -08:00
worker Add a configuration option to put Asana tasks into Asana projects 2013-11-25 17:40:12 -08:00