HomePhabricator

Give Owners real view and edit policies

Description

Give Owners real view and edit policies

Summary: Fixes T10360. In modern code, most of the meat is automatic.

Test Plan:

  • Edited view policy and edit policy from web UI.
  • Viewed package, saw policy badge in header.
  • Tried to edit a package as a user without permission, got appropriate disabled states and errors.
  • Changed policies via Conduit.
  • Tried to view a package as a user without permission.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10360

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

Details