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)
Sat, Apr 6, 7:45 PM
Unknown Object (File)
Mon, Apr 1, 3:25 AM
Unknown Object (File)
Mon, Apr 1, 3:24 AM
Unknown Object (File)
Mon, Apr 1, 3:24 AM
Unknown Object (File)
Sun, Mar 31, 7:04 AM
Unknown Object (File)
Wed, Mar 27, 8:40 AM
Unknown Object (File)
Sat, Mar 23, 6:53 AM
Unknown Object (File)
Mar 7 2024, 2:25 PM
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.