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
F14063268: D16294.diff
Mon, Nov 18, 5:34 PM
F13980636: D16294.id.diff
Oct 19 2024, 11:42 AM
F13962002: D16294.diff
Oct 15 2024, 7:31 AM
Unknown Object (File)
Oct 7 2024, 1:39 AM
Unknown Object (File)
Sep 20 2024, 11:10 PM
Unknown Object (File)
Sep 16 2024, 4:51 PM
Unknown Object (File)
Sep 9 2024, 9:42 AM
Unknown Object (File)
Sep 4 2024, 4:42 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.