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

The options to edit and delete workflow shouldn't be displayed for users that don't have permission to do it, on Kaleo Forms Admin

    Details

      Description

      Description:
      The options to edit and delete workflow shouldn't be displayed for users that don't have permission to do it, on Kaleo Forms Admin.

      Steps to Reproduce:

      1. Go to Control Panel > Users and Organizations and create a new user called 'Site Admin'
      2. Go to Memberships and make 'Site Admin' a member of Liferay DXP, then go to Roles and assign the 'Site Administrator' site role
      3. Go to Workflow > Process Builder and unpublish a workflow
      4. Sign out of Test/Test and sign in as 'Site Admin'
      5. Navigate to Content & Data > Kaleo Forms Admin
      6. Create a new process
      7. Add a name and click Next
      8. Choose any Field Set and click Next
      9. Click on Unpublished tab

      Expected Result:
      The user is not able to see the Edit option, nor the Delete option on the kebab menu for each item, since only regular administrators should see it.

      Actual Result:
      The user is able to see the Edit option button and click on it; the user is able to see the Delete option on the kebab menu for each item and click on it.

      Verified on master: d0f6b0ff617f356c63894822b27b21f09a39fdb3

        Attachments

          Activity

            People

            Assignee:
            mariana.malta@liferay.com Mariana Malta
            Reporter:
            ana.buchmann Ana Buchmann
            Participants of an Issue:
            Recent user:
            Tomáš Polešovský
            Engineering Assignee:
            Mariana Malta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              15 weeks, 1 day ago

                Packages

                Version Package
                7.3.X
                7.4.1 CE GA2 DXP 7,4
                7.4.2 CE GA3 DXP 7,4
                Master