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
Unknown Object (File)
Sat, Mar 23, 12:36 PM
Unknown Object (File)
Fri, Mar 22, 8:20 PM
Unknown Object (File)
Fri, Mar 22, 8:19 PM
Unknown Object (File)
Fri, Mar 22, 8:19 PM
Unknown Object (File)
Fri, Mar 22, 8:19 PM
Unknown Object (File)
Tue, Mar 5, 8:58 AM
Unknown Object (File)
Feb 4 2024, 3:44 AM
Unknown Object (File)
Feb 3 2024, 5:52 AM

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.