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

Delete button appears even if the user doesn't have enough permissions

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.1.X
    • Fix Version/s: 7.1.X
    • Component/s: Forms
    • Labels:

      Description

      Steps to Reproduce:

      1. Create a Site named Site1.
      2. Create a User named User1.
      3. Assign the user to Site1.
      4. Create a regular role named Forms.
      5. Define the following permissions for the role: Access in Site Administration.
      6. Assign User1 to role Forms.
      7. Create a form with a text field in Site1.
      8. Add the form to a page in Site1.
      9. Fill the form to create an entry (doesn't matter the user that does so).
      10. Log in with User1 and go to the form administration.
      11. Click on the option View Entries from the form.
      12. Select an entry.

      Actual Results:

      The delete button on the management bar appears enabled and fails if used.

      Expected Results:

      The delete button on the management bar should appear disabled.

      On 7.2.x and above this is fixed by LPS-122393 .

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chao.wang Chao Wang
              Reporter:
              lino.alves Lino Alves
              Participants of an Issue:
              Recent user:
              Tomáš Polešovský
              Engineering Assignee:
              Lino Alves
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 weeks, 5 days ago

                  Packages

                  Version Package
                  7.1.X