HomePhabricator

Support Spaces transactions

Description

Support Spaces transactions

Summary:
Ref T8424. This adds crude integration with Paste's edit/view workflows: you can change the space a Paste appears in, see transactions, and get a policy callout.

Lots of rough edges and non-obviousness but it pretty much works.

Test Plan:

  • Created and updated Pastes.
  • Moved them between spaces, saw policy effects.
  • Read transactions.
  • Looked at feed.
  • Faked query to return no spaces, saw control and other stuff vanish.
  • Faked query to return no spaces, created pastes.
  • Tried to submit bad values and got errors.

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8424

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jun 5 2015, 5:42 PM
Reviewer
btrahan
Differential Revision
D13159: Support Spaces transactions
Parents
rP5deaeec6688a: Use a class constant instead of a hardcoded string
Branches
Unknown
Tags
Unknown
Tasks
T8424: Integrate Spaces into the core policy infrastructure