There should be a way to destroy a question, or at least restrict its visibility.
Description
Description
Revisions and Commits
Revisions and Commits
rP Phabricator | |||
D10167 | rP50a393913cd5 Slowvote - add ability to destroy a poll |
Event Timeline
Comment Actions
This is likely two different tasks. Implement Policies and Implement bin/remove. What is your specific use case here, closing a question should provide most of what you need.
Comment Actions
Slowvote already supports policies. Use Edit > Visible To to restrict who can see a poll.
Comment Actions
To proceed:
- Implement PhabricatorDestructibleInterface on SlowvotePoll.
- Invoke destruction with bin/remove destroy V123.
- The method should destroy the poll, the options, and the votes.
- See T5409 for a similar task.