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
Unknown Object (File)
May 31 2025, 12:13 PM
Unknown Object (File)
May 9 2025, 3:40 PM
Unknown Object (File)
Apr 25 2025, 9:27 PM
Unknown Object (File)
Apr 21 2025, 3:25 AM
Unknown Object (File)
Apr 14 2025, 10:52 AM
Unknown Object (File)
Apr 9 2025, 7:16 AM
Unknown Object (File)
Apr 4 2025, 4:20 PM
Unknown Object (File)
Apr 4 2025, 1:36 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