Homec4science

Support Spaces transactions

Authored by epriestley <git@epriestley.com> on Jun 5 2015, 19:42.

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

Committed
epriestley <git@epriestley.com>Jun 5 2015, 19:42
Pushed
aubortJan 31 2017, 17:16
Parents
rPH5deaeec6688a: Use a class constant instead of a hardcoded string
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHef90007a2120: Support Spaces transactions (authored by epriestley <git@epriestley.com>).Jun 5 2015, 19:42