HomePhabricator

Add PackagesPackage

Description

Add PackagesPackage

Summary:
Ref T8116. A package has:

  • a publisher (like "Phacility"), from the previous revision;
  • a name (like "Arcanist");
  • a package key (like "arcanist").

The package key is immutable, like the publisher key.

This gives a package a full key like "phacility/arcanist".

Policy stuff:

  • You must be able to view a publisher to view a package (currently, everyone can always see all publishers).
  • You must be able to edit a publisher to create a new package inside it.
  • Packages have separate view/edit permissions.

This still does nothing interesting.

Test Plan:

Screen Shot 2016-07-21 at 10.53.05 AM.png (970×1 px, 130 KB)

Reviewers: chad

Reviewed By: chad

Subscribers: eadler

Maniphest Tasks: T8116

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

Details

Provenance
epriestleyAuthored on Jul 21 2016, 5:39 PM
epriestleyPushed on Jul 27 2016, 7:23 PM
Reviewer
chad
Differential Revision
D16315: Add PackagesPackage
Parents
rP9160da1afb62: Add a Packages application and PackagePublisher
Branches
Unknown
Tags
Unknown
Tasks
T8116: Prototype a package management application
Build Status
Buildable 13162
Build 16845: Run Core Tests