1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/maniphest
Fabian Stelzer cd677161e1 Do not CC users without permissions to view an object
Summary:
Ref T4411
I'm not quite sure if this is the right place for this as it will be difficult to provide proper user feedback of why we removed a particular subscriber.
Is the ApplicationTransactionEditor generally the right place to extract mentioned phids in comments?
On the other hand in some cases we cannot really give user feedback why a user was not subscribed (e.g.: commits & diffs)

Adding a diff to a repo where the user mentioned has no view permissions the subscriber is currently still added. Still would have to find where this is donet...

Any other places?

Unrelated: Is there any way to remove a subscriber from a commit/audit ?

Test Plan:
 - Edited tasks with the mentioned user having view permissions to this specific task and without
 - Raised concern with a commit and commented on the audit with the user having view permissions to the repo and without
 - Added a commit to a repo with and without the mentioned user having permissions
 - Mention a user in a task & commit comment with and without permissions
 - Mentioning a user in a diff description & comments with and without permissions to the specific diff

Reviewers: chad, #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: chad, Korvin, epriestley

Maniphest Tasks: T4411

Differential Revision: https://secure.phabricator.com/D11049
2015-01-01 08:05:52 -08:00
..
application Home - limit "status" queries to 100 and show 99+ if we hit that 2014-12-12 12:02:25 -08:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Migrate Maniphest task blockers to modern EdgeType classes 2014-12-28 06:40:39 -08:00
config Fix confusing documentation on maniphest.default-priority 2014-09-09 09:01:39 -07:00
constants Remove @group annotations 2014-07-10 08:12:48 +10:00
controller Do not CC users without permissions to view an object 2015-01-01 08:05:52 -08:00
edge Migrate Differential revision edges to use modern EdgeType subclasses 2015-01-01 15:07:03 +11:00
editor Migrate Maniphest task blockers to modern EdgeType classes 2014-12-28 06:40:39 -08:00
event Migrate Maniphest task blockers to modern EdgeType classes 2014-12-28 06:40:39 -08:00
export phutil_utf8_shorten => PhutilUTF8StringTruncator 2014-08-29 15:15:13 -07:00
field Use ApplicationTransactions and CustomField to implement build steps 2014-03-25 16:08:40 -07:00
lipsum Maniphest - use subscribers framework properly 2014-12-10 16:27:30 -08:00
mail Maniphest - introduce needProjectPHIDs 2014-12-18 13:53:45 -08:00
phid Rename PHIDType classes 2014-07-24 08:05:46 +10:00
query Maniphest - introduce needProjectPHIDs 2014-12-18 13:53:45 -08:00
remarkup Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
search Maniphest - use subscribers framework properly 2014-12-10 16:27:30 -08:00
storage Improve puncutation usage 2015-01-01 15:40:04 +11:00
typeahead T5015, Allow Herald rules for Maniphest to act on task status changes 2014-11-12 12:55:24 -08:00
view Minor formatting changes 2014-10-08 08:39:49 +11:00