Page MenuHomePhabricator

Add Edit/View Policy to Ponder Questions
ClosedPublic

Authored by chad on Aug 4 2015, 10:31 PM.
Tags
None
Referenced Files
F12849012: D13791.id33309.diff
Fri, Mar 29, 4:18 AM
F12843799: D13791.diff
Thu, Mar 28, 11:03 PM
Unknown Object (File)
Thu, Mar 21, 8:57 AM
Unknown Object (File)
Sat, Mar 16, 6:51 AM
Unknown Object (File)
Mon, Mar 11, 2:24 AM
Unknown Object (File)
Tue, Mar 5, 6:56 PM
Unknown Object (File)
Tue, Mar 5, 6:55 PM
Unknown Object (File)
Tue, Mar 5, 6:55 PM
Subscribers

Details

Reviewers
epriestley
Maniphest Tasks
T3578: Unbeta Ponder
Commits
Restricted Diffusion Commit
rP135d0c9ee7a6: Add Edit/View Policy to Ponder Questions
Summary

Ref T3578, adds ability to set a default edit and view policy for questions. Not sure what to set viewPolicy to ?

Test Plan

Test an old question, edit policy still on myself. Test a new question, see new default.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Add Edit/View Policy to Ponder Questions.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
chad added a task: T3578: Unbeta Ponder.
epriestley edited edge metadata.
epriestley added inline comments.
resources/sql/autopatches/20150804.ponder.question.2.sql
2–3

For viewPolicy, just set it to the string 'users' to preserve the old behavior:

...
SET viewPolicy = 'users' WHERE viewPolicy = '';
This revision is now accepted and ready to land.Aug 4 2015, 10:37 PM
chad edited edge metadata.
  • add default viewPolicy
This revision was automatically updated to reflect the committed changes.