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

Delete button is shown for Site members who don't have permission to delete DDL Records

    Details

      Description

      Steps to Reproduce
      1) Login using Admin user .Place Dynamic Data List Portlet on a page in Guest site.
      2) In the Dynamic Data List Portlet click "Add List" to add list.
      3) In the add list form select Data Definition as "Meeting Minutes" and save form.
      4) Now in the DDL portlet "Add Meeting Minutes" button is displayed.Fill "Minute Minutes" record form and click publish.
      5) Add 2-3 records.
      6) Now create New User and make him Site Member of the site.
      7) Login by this New User and visit the page on which we placed Dynamic Data List Portlet.
      8) Click on select All check box to select all records displayed.

      Actual Result:-

      After clicking Select All check box, Delete button appears on right side.Although records are not deleted but it is ambiguous to show button without permissions.

      Expected Result:-

      After clicking Select All check box, Delete button should not appear as site member dont have delete permissions on the Record Set.

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          47 kB
        2. Fixed70.PNG
          Fixed70.PNG
          23 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 7 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP6
                7.0.0 DXP SP1
                7.0.3 CE GA4
                7.1.X
                Master