Page MenuHomePhabricator

Add "Spaces", an application for managing policy namespaces
ClosedPublic

Authored by epriestley on May 19 2014, 9:55 PM.
Tags
None
Referenced Files
F14060038: D9204.diff
Sun, Nov 17, 11:03 PM
F14049831: D9204.diff
Thu, Nov 14, 2:53 PM
F14034567: D9204.diff
Sun, Nov 10, 1:03 AM
F14021214: D9204.diff
Wed, Nov 6, 6:31 AM
F14021158: D9204.diff
Wed, Nov 6, 5:59 AM
F14017840: D9204.id21866.diff
Mon, Nov 4, 11:58 PM
F13965491: D9204.id21866.diff
Oct 16 2024, 2:25 AM
F13963158: D9204.diff
Oct 15 2024, 2:17 PM

Details

Summary

Ref T3820. This doesn't actually do anything yet, but dumps in all the plumbing.

Test Plan

Screen_Shot_2014-05-19_at_2.53.49_PM.png (912×1 px, 101 KB)

Screen_Shot_2014-05-19_at_2.53.26_PM.png (912×1 px, 112 KB)

Screen_Shot_2014-05-19_at_2.53.34_PM.png (912×1 px, 121 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add "Spaces", an application for managing policy namespaces.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
This revision is now accepted and ready to land.May 19 2014, 11:01 PM
epriestley edited edge metadata.

Modernize, mostly trivial changes:

  • Use modern $COLLATE patches.
  • Use handleRequest().
  • Remove device hint for pages.
  • Use buildTransactionTimeline().
  • Use validateIsEmptyTextField().
  • Fix a weird regex in PHIDType.
  • Use 1 and null more consistently as the available values for TYPE_DEFAULT.
  • Add CONFIG_COLUMN_SCHEMA.
  • Add CONFIG_KEY_SCHEMA.
  • Remove getCapabilityKey() from custom capabilities.
  • Add Application->getName().
  • Implement getApplicationClassName() and getResultTypeDescription() on SearchEngine.
  • Rename PHIDTypeNamespace to NamespacePHIDType.
  • Remove getTypeConstant() from PHIDType.
  • Add getEditorApplicationClass and getEditorObjectsDescription to Editor.
  • Implement PhabricatorApplicationTransactionInterface on Namespace.
  • Picked an icon.

Retested:

  • Ran bin/storage upgrade -f, clean patches + no adjustments.
  • Created a new namespace (it became the default space).
  • Created another namespace (it became a non-default space).
  • Made a few edits.
  • Fiddled with default policies.
  • Tried to create a Space with "can create" set to "no one"; blocked with policy exception.
This revision was automatically updated to reflect the committed changes.