Page MenuHomePhabricator

Add an "Authority" control to Packages to support "Watcher" packages

Authored by epriestley on Jun 25 2021, 4:30 PM.
Referenced Files
F11519346: D21674.diff
Thu, Feb 2, 7:53 AM
F11519048: D21674.id51580.diff
Thu, Feb 2, 1:25 AM
Unknown Object (File)
Mon, Jan 30, 4:27 PM
Unknown Object (File)
Sat, Jan 28, 5:09 PM
Unknown Object (File)
Fri, Jan 27, 11:18 AM
Unknown Object (File)
Tue, Jan 24, 2:50 PM
Unknown Object (File)
Tue, Jan 24, 7:58 AM
Unknown Object (File)
Thu, Jan 19, 12:38 PM
Restricted Owners Package



See T13657. An install has "watcher" packages which should not allow owners to "Force Accept" other packages.

Test Plan
  • Created package A, which I own, on "/", with "Weak" authority.
  • Created package B, which I do not own, on "/src".
  • Created a revision which touches "/src" and added package B as a reviewer.
  • Attempted to accept the revision...
    • Before patch: permitted to "Force Accept" for package B.
    • After patch: not allowed to "Force Accept" for package B.
  • Verified that setting package "A" back to "Strong" authority allows a force-accept for package B.

Diff Detail

rP Phabricator
Lint Not Applicable
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Jun 25 2021, 4:30 PM
  • Allow "" API to read this setting.

Screen Shot 2021-06-25 at 9.59.08 AM.png (239×500 px, 27 KB)

This revision was not accepted when it landed; it landed in state Needs Review.Jun 25 2021, 8:48 PM
This revision was automatically updated to reflect the committed changes.