Page MenuHomePhabricator

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

Authored by epriestley on Jan 16 2019, 1:55 PM.
Tags
None
Referenced Files
F13186306: D19977.diff
Sat, May 11, 3:33 AM
F13183827: D19977.diff
Fri, May 10, 12:39 PM
Unknown Object (File)
Tue, May 7, 6:35 AM
Unknown Object (File)
Fri, May 3, 4:07 AM
Unknown Object (File)
Mon, Apr 29, 4:23 PM
Unknown Object (File)
Sun, Apr 28, 7:25 AM
Unknown Object (File)
Thu, Apr 25, 12:02 AM
Unknown Object (File)
Sat, Apr 20, 4:28 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable