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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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. |