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

Non-admin users cannot update their answers to questions unless they are the creator of the question

    Details

      Description

      Steps to reproduce:

      1. As user 1, add a question to the Questions widget
      2. As user 2 (in my case, a site member with the power user role) answer user 1's question
      3. Try to edit the answer

      Expected result:
      The user can successfully save his edit.

      Actual result:
      The edit form field doesn't save and the browser throws an error:

      Error: Exception while fetching data (/patchMessageBoardMessage) : com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 36463 must have UPDATE permission for com.liferay.message.boards.model.MBMessage 36449
      

      Reproduced on:
      Tomcat 9.0.33 + HSQL 2.3.
      Portal master 25eb2464a281c98fa2e71beabb833787aa899d8d

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              austin.chiang Austin Chiang
              Reporter:
              austin.chiang Austin Chiang
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 25 weeks, 6 days ago

                  Packages

                  Version Package
                  7.3.4 CE GA5
                  7.3.10 DXP GA1
                  Master