HomePhabricator

Don't require "CAN_EDIT" to watch/unwatch a project

Description

Don't require "CAN_EDIT" to watch/unwatch a project

Summary:
See T1024. When "CAN_EDIT" became default in T13186, this was missed as an exception.

Watching shouldn't require "CAN_EDIT", so exempt it.

Test Plan:

  • Before change: tried to watch a project I could not edit, got a policy error.
  • After change: watched/unwatched a project I could not edit.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D19977

Details

Provenance
epriestleyAuthored on Jan 16 2019, 1:51 PM
epriestleyPushed on Jan 16 2019, 9:10 PM
Reviewer
amckinley
Differential Revision
D19977: Don't require "CAN_EDIT" to watch/unwatch a project
Parents
rP64e3296fe682: Upgrade Sendgrid to the modern mailer API; removes "api-user" option
Branches
Unknown
Tags
Unknown
Build Status
Buildable 21555
Build 29376: Run Core Tests