HomePhabricator

Make Calendar query for indirect invites/RSVPs by default, like Differential

Description

Make Calendar query for indirect invites/RSVPs by default, like Differential

Summary:
Ref T11816. Since the dashboard got updated, Differential now interprets "Responsible Users: epriestley" to mean "epriestley, or any project or package epriestley is part of". You can query for just "epriestley" with "exact(epriestley)".

Give Calendar invites the same behavior: "epriestley" means "any event epriestley is invited to, or a project they are a member of is invited to". Individual invites can be queried with "exact(epriestley)".

This is a little bit copy-pastey but I want to wait for a third use case to clean it up since I think I'm going to have to do a bunch of generalization around "how does an individual PHID get turned into a bunch of PHIDs".

Test Plan: Queried for "Invited: dog", "invited: viewer", "invited; exact(dog)", etc.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11816

Differential Revision: https://secure.phabricator.com/D16870

Details

Provenance
epriestleyAuthored on Nov 15 2016, 7:23 PM
epriestleyPushed on Nov 15 2016, 8:47 PM
Reviewer
chad
Differential Revision
D16870: Make Calendar query for indirect invites/RSVPs by default, like Differential
Parents
rP015ead6e7b85: Add subtitle to PhamePost
Branches
Unknown
Tags
Unknown
Tasks
T11816: Calendar: Feedback and Suggestions
Build Status
Buildable 14512
Build 18924: Run Core Tests