Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-130115

Display pending questions to owner users

    Details

      Description

      Motivation:

      As of LPS-130108, it is possible to enable an automated workflow-based moderation for Message Boards. This workflow would also apply to Questions, which are based on Message Boards. However, contrary to Message Boards, when the moderation is applied and users create new question, they don't see them while they are not approved. This is a bad user experience and can be easily perceived as a bug. 

      Acceptance Criteria:

      Given the Message Boards moderation is enabled, when a user creates a question and it is waiting for approval, then the owner user can view the question.

      Test Scenarios

      TC ID Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd? (JS-Unit) Is it covered by BackEnd? (unit, integration, or REST) Test to add
      2.5 The pending question can be viewed by the owner High priority Poshi No No QuestionsWithWorkflow#CanApproveQuestion
      2.6 The owner/user cannot answer a pending question from the details page High priority Poshi No No  QuestionsWithWorkflow#CanApproveQuestion
      2.7 The owner/user can answer a question from the details page once it's approved High priority Poshi No No QuestionsWithWorkflow#CanApproveQuestion
      2.8 The pending question is not shown under Related Questions Medium Poshi No No QuestionsWithWorkflow#RelatedQuestionCanBeViewedAfterApproving
      2.9 The approved question is shown under Related Questions Medium Poshi No No QuestionsWithWorkflow#RelatedQuestionCanBeViewedAfterApproving

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              austin.chiang Austin Chiang
              Reporter:
              eduardo.garcia Eduardo García
              Engineering Assignee:
              Javier de Arcos Velilla
              Recent user:
              Sophia Zhang
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.1 CE GA2 DXP 7,4
                  7.4.13 DXP GA1
                  Master