Closes T7940, Calendar events should have edit/view policies.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T7940: Support proper policies in Calendar
- Commits
- Restricted Diffusion Commit
rP11e8e60245ed: Calendar events should have edit/view policies
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
Diff Detail
- Repository
- rP Phabricator
- Branch
- calendareventeditviewpolicies
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 5626 Build 5645: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
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. |