Page MenuHomePhabricator

Provide default view and edit policies in Calendar, plus "Event Host" and "Event Invitees"
ClosedPublic

Authored by epriestley on Jul 13 2016, 8:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 10:02 PM
Unknown Object (File)
Fri, Nov 29, 9:57 AM
Unknown Object (File)
Wed, Nov 27, 12:13 PM
Unknown Object (File)
Sun, Nov 24, 9:20 AM
Unknown Object (File)
Nov 18 2024, 5:34 PM
Unknown Object (File)
Oct 19 2024, 11:42 AM
Unknown Object (File)
Oct 15 2024, 7:31 AM
Unknown Object (File)
Oct 7 2024, 1:39 AM
Subscribers
None

Details

Summary

Fixes T9224. This adds:

  • A "Default Edit Policy" and "Default View Policy" to Calendar, similar to other applications.
  • "Event Host" and "Event Invitees" objects policies.

These policies often end up being redundant (the host can always view/edit, the invitees can always view), but they can be more clear than setting "No One", and "Editable By: Event Invitees" is a legitimately useful policy.

Test Plan
  • Created and edited events.
  • Fiddled with defaults.
  • Tried to remove myself as the event host for an "Editable By: Host" event, got an error ("you wouldn't be able to edit").
  • Tried to remove myself as host/invitee for an "Editable By: Invitees" event, got an error.

Diff Detail

Repository
rP Phabricator
Branch
cal8
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13064
Build 16699: Run Core Tests
Build 16698: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Provide default view and edit policies in Calendar, plus "Event Host" and "Event Invitees".
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 13 2016, 8:58 PM
This revision was automatically updated to reflect the committed changes.