-
Type: Story
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.13 Larks
-
Fix Version/s: 2.13 Larks
-
Labels:None
-
Epic Link:
-
Sprint:2.13 Larks
As a User I'd like to be able to ask questions in Q&A topics
- Given CREATE_QUESTIONS permission i see "Ask question" link in topic types combobox on branch page
- Given EDIT_OWN_POSTS permission user has ability to edit questions left by user himself. It's possible to edit questions even if user doesn't have CREATE_QUESTIONS anymore.
- Given MOVE_TOPICS permission user can move questions from the branch (branch1) he has permissions for to another branch (branch2) (he needs to have only VIEW_TOPICS permissions in order to see branch2, if he doesn't have such permissions, he can't move questions to it)
- Given EDIT_OTHERS_POSTS permission user can edit questions left by other users (even if he doesn't have CREATE_QUESTIONS for that branch). This doesn't give him right to edit his own posts/questions.
- Given DELETE_OWN_POSTS permission user can delete his own questions in branches he has VIEW_TOPICS permissions for. It's not enough to have this permission to remove topics where other users already posted as well.
- Given DELETE_OTHERS_POSTS permission user can delete questions left by other users. Also in conjunction with DELETE_OWN_POSTS he can delete questions both left by him and by other users. He can't remove questions where he posted if he doesn't have DELETE_OWN_POSTS permissions.
- Following this link Q&A creating form should be opened. This form contains:
- title field with "Question / Вопрос / Питання" help text
- bb-codes toolbar
- question text field with "Details / Подробнее / Детальніше" help text
- "Ask" button
- "Back" link
- Fields validation and Preview should be same as topic creation fields
- All hotkeys should work the same as in Discussions/Code Review.
- Q&A topics should have own icon for topic list (different icons for read and unread questions)
- Question should be shown on all the list pages: Recent Activity, Branch page, Topics without Answers, Search
- Questions should be added up to the user's post count and should be shown in the Post List of user.
- If plugin is unable/deleted, questions should not be shown