Page MenuHomePhabricator

Calendar events should have edit/view policies
ClosedPublic

Authored by lpriestley on Apr 30 2015, 9:33 PM.
Tags
None
Referenced Files
F19804469: D12632.diff
Mar 2 2026, 7:54 AM
F19804468: D12632.diff
Mar 2 2026, 7:54 AM
F19756651: D12632.id30329.diff
Feb 17 2026, 7:07 PM
F19542918: D12632.id30330.diff
Jan 22 2026, 1:36 PM
F19502911: D12632.id30330.diff
Jan 8 2026, 8:34 PM
F19103493: D12632.diff
Dec 5 2025, 10:43 AM
F18972731: D12632.diff
Nov 15 2025, 2:20 PM
F18943887: D12632.id30327.diff
Nov 11 2025, 2:56 PM
Subscribers

Details

Summary

Closes T7940, Calendar events should have edit/view policies.

Test Plan

Create new event and save, event should be only visible and editable by creator. Editing policies should correctly set the permissions of editing/viewing the event.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lpriestley retitled this revision from to Calendar events should have edit/view policies.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/calendar/controller/PhabricatorCalendarEventEditController.php
37–38

These shouldn't be necessary, since initializeNewCalendarEvent() sets them for you automatically.

src/applications/calendar/storage/PhabricatorCalendarEvent.php
255–257

This could be omitted to slightly simplify things, since we'll just hit the return false; below anyway.

This revision is now accepted and ready to land.Apr 30 2015, 9:39 PM
lpriestley marked 2 inline comments as done.
lpriestley edited edge metadata.

Cleanup.

This revision was automatically updated to reflect the committed changes.