Page MenuHomePhabricator

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

Authored by epriestley on Jun 25 2021, 4:30 PM.
Tags
None
Referenced Files
F13303229: D21674.diff
Sat, Jun 8, 6:29 AM
F13287233: D21674.diff
Tue, Jun 4, 8:30 AM
F13274506: D21674.diff
Fri, May 31, 3:47 AM
F13270046: D21674.diff
Wed, May 29, 8:45 AM
F13260554: D21674.diff
Mon, May 27, 12:03 AM
F13243361: D21674.id51581.diff
Thu, May 23, 3:49 AM
F13243086: D21674.id51580.diff
Thu, May 23, 3:19 AM
F13223055: D21674.diff
May 19 2024, 4:14 AM
Subscribers
Restricted Owners Package

Details

Summary

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Jun 25 2021, 4:30 PM
  • Allow "owners.search" 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.