Home GnuPG

Rough-in Almanac namespaces
db50d0fb11e2Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Rough-in Almanac namespaces

Summary:
Ref T6741. Ref T10246.

Root problem: to provide Drydock in the cluster, we need to expose Almanac, and doing so would let users accidentally or intentionally create a bunch of repo006.phacility.net devices/services which could conflict with the real ones we manage.

There's currently no way to say "you can't create anything named *.blah.net". This adds "namespaces", which let you do that (well, not yet, but they will after the next diff).

After the next diff, if you try to create repo003.phacility.net, but the namespace phacility.net already exists and you don't have permission to edit it, you'll be asked to choose a different name.

Also various modernizations and some new docs.

Test Plan:

  • Created cool namespaces like this.computer.
  • Almanac namespaces don't actually enforce policies yet.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T6741, T10246

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

Details

Provenance
epriestley <git@epriestley.com>Authored on Feb 21 2016, 9:15 PM
Parents
rPHAB50debecf5268: Allow Almanac namespaces to be searched by ngram index
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHABdb50d0fb11e2: Rough-in Almanac namespaces (authored by epriestley <git@epriestley.com>).Feb 22 2016, 1:58 PM