PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32269

Message Boards - Delete Permission Will Not Allow Deletions of Threads in Categories/Sub-Categories

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Similar Issues:
      Show 5 results 

      Description

      Message Boards - Delete Permission Will Not Allow Deletions of Threads in Categories/Sub-Categories

      In the Message Board portlet if a user or a team has the "delete" permission on a category, this permission will only allow deletion of sub-categories and not threads.

        Issue Links

          Activity

          Hide
          Randall Hidajat added a comment -

          After looking into this issue, the code does not have this functionality. As such, I have marked it as an improvement.

          Show
          Randall Hidajat added a comment - After looking into this issue, the code does not have this functionality. As such, I have marked it as an improvement.
          Hide
          Ginson Ren added a comment -

          PASSED Manual Testing using the following steps:

          1. Go to Control Panel > Roles.
          2. Click Action near Power User > Define Permissions.
          3. Choose Message Boards under the DropDownList of Add Permissions.
          4. Check the Delete under Message Boards Category and save.
          5. Add a new user.
          6. Back to liferay.com.
          7. Add Message Boards portlet.
          8. Add a new category "test".
          9. Click the test and add a new subcategory and a new thread.
          10. Login as the new user.
          11. Go to the Message Borads portlet.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 1a1b10cfa672378d25f834c24baf5c469ce5ae0d.

          User have no permission to delete the thread.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: a4b451cfa4bc14aee8d745b9389cafe4258f2c01.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 8b3d3bc1f59cd7a6efcedc8ac83a779c54b2e211.

          User also have permission to delete the thread.

          Show
          Ginson Ren added a comment - PASSED Manual Testing using the following steps: 1. Go to Control Panel > Roles. 2. Click Action near Power User > Define Permissions. 3. Choose Message Boards under the DropDownList of Add Permissions. 4. Check the Delete under Message Boards Category and save. 5. Add a new user. 6. Back to liferay.com. 7. Add Message Boards portlet. 8. Add a new category "test". 9. Click the test and add a new subcategory and a new thread. 10. Login as the new user. 11. Go to the Message Borads portlet. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 1a1b10cfa672378d25f834c24baf5c469ce5ae0d. User have no permission to delete the thread. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: a4b451cfa4bc14aee8d745b9389cafe4258f2c01. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 8b3d3bc1f59cd7a6efcedc8ac83a779c54b2e211. User also have permission to delete the thread.
          Hide
          Kenneth Chang (Inactive) added a comment -

          I've attempted to make parent-child relationships consistent across the board, this LPS achieves the following:

          if a category has a permission, the children (both threads and categories) will also have that permission
          if a folder has a permission, the children (both file entries and folders) will also have that permission
          if a wiki node has a permission, the children (wiki pages) will also have that permission
          if a wiki page has a permission, the children (wiki pages) will also have that permission

          Show
          Kenneth Chang (Inactive) added a comment - I've attempted to make parent-child relationships consistent across the board, this LPS achieves the following: if a category has a permission, the children (both threads and categories) will also have that permission if a folder has a permission, the children (both file entries and folders) will also have that permission if a wiki node has a permission, the children (wiki pages) will also have that permission if a wiki page has a permission, the children (wiki pages) will also have that permission

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 12 weeks, 5 days ago

                Development

                  Structure Helper Panel