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
F13133862: D16294.diff
Wed, May 1, 11:54 PM
Unknown Object (File)
Mon, Apr 29, 5:14 PM
Unknown Object (File)
Mon, Apr 29, 5:14 PM
Unknown Object (File)
Mon, Apr 29, 5:14 PM
Unknown Object (File)
Thu, Apr 25, 6:10 PM
Unknown Object (File)
Tue, Apr 23, 12:27 PM
Unknown Object (File)
Sat, Apr 6, 7:45 PM
Unknown Object (File)
Apr 1 2024, 3:25 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.