Page MenuHomePhabricator

Make Herald rules subscribable
ClosedPublic

Authored by joshuaspence on Nov 12 2015, 8:59 AM.
Tags
None
Referenced Files
F15469310: D14468.id34988.diff
Fri, Apr 4, 11:54 AM
F15468168: D14468.id35067.diff
Thu, Apr 3, 9:06 PM
F15418922: D14468.id35067.diff
Fri, Mar 21, 2:25 AM
F15393602: D14468.id35058.diff
Sat, Mar 15, 10:39 PM
F15390926: D14468.id34988.diff
Sat, Mar 15, 7:22 AM
F15382641: D14468.id34988.diff
Fri, Mar 14, 1:34 PM
F15333099: D14468.diff
Fri, Mar 7, 11:51 PM
Unknown Object (File)
Mar 2 2025, 2:47 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T9757: Add subscribers to Herald
Commits
Restricted Diffusion Commit
rP26a235ab8a18: Make Herald rules subscribable
Summary

Fixes T9757.

Test Plan

Created a Herald rule and then subscribed to it with a different account.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Make Herald rules subscribbable.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

One minor quibble about auto-subscribe -- does that make sense?

src/applications/herald/storage/HeraldRule.php
328

This is right for personal rules, but I don't think we should auto-subscribe the author for object/global rules?

This revision now requires changes to proceed.Nov 12 2015, 6:42 PM
src/applications/herald/storage/HeraldRule.php
328

Agreed. I realized this later but didn't get around to updating the diff.

chad retitled this revision from Make Herald rules subscribbable to Make Herald rules subscribable.Nov 12 2015, 7:52 PM
chad edited edge metadata.
joshuaspence edited edge metadata.
joshuaspence marked 2 inline comments as done.

Only auto-subscribe personal rules

epriestley edited edge metadata.
This revision is now accepted and ready to land.Nov 16 2015, 4:42 PM
This revision was automatically updated to reflect the committed changes.