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

permission-setting of discussion-tag is broken

    Details

    • Branch Version/s:
      6.0.x
    • Liferay Contributor's Agreement:
      Accept

      Description

      After embedding liferay discussion tag to the view page of a model (e.g. Book) normal users cannot "start" with a comment. "Only a user with admin role" can start the first comment and after that normal users may only add another comment (and still not being able to reply-to comments). It seems to be a permission problem.

      Hier is the piece of code I used:

      Here is the piece of code to embed discussion-tag in my page:
      "
      <liferay-ui:panel-container extended="<%= false %>"
      id="bookCommentsPanelContainer" persistState="<%= true %>">
      <liferay-ui:panel collapsible="<%= true %>" extended="<%= true %>"
      id="bookCommentsPanel" persistState="<%= true %>"
      title='<%= LanguageUtil.get(pageContext, "comments") %>'>
      <portlet:actionURL
      name="invokeTaglibDiscussion"
      var="discussionURL" />
      <liferay-ui:discussion className="<%= Book.class.getName() %>"
      classPK="<%= book.getBookId() %>"
      formAction="<%= discussionURL %>" formName="fm2"
      ratingsEnabled="<%= true %>" redirect="<%= themeDisplay.getURLCurrent() %>"
      subject="<%= StringUtil.shorten(book.getName(),50) %>"
      userId="<%= book.getUserId() %>" />
      </liferay-ui:panel>
      </liferay-ui:panel-container

      So to elaborate:
      A normal user cannot start (write the first comment) and it cannot reply to comments. It can only write a comment after the first comment has been added by some admin.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            pujanz Puj
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              7 years, 33 weeks ago

                Packages

                Version Package