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

File upload not working in Forms for non-administrative user

    Details

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

      Description

      Reproduction Steps

      1. Create a new user (user1)
      2. Create a new Site Role (form role)
      3. Define permissions for the new Role
      Give user all permissions for "Forms"
      Give user all permissions for "Documents and Media"
      4. Assign "user1" to a member of Liferay DXP site and the "form role"
      5. Login as "user1"
      6. Go to Content & Data > Forms
      7. Add a new Form
      8. Add an Upload field
      9. Publish form
      10. Click the three dots by the form and select "Copy URL"
      11. Go to the Publication URL
      12. Click "Select" on the upload field

      Expected Result: "user1" can choose a document and upload it.
      Actual Result: Two error messages "You do not have the roles required to access this portlet" show up.

      Branch

      Can reproduce in 7.2.x 1b32a2f101a11059ab1dbf708e170324804a9cc9
      Can reproduce in master
      6e88af622623004cef5307d748716e8007678148

        Attachments

          Activity

            People

            • Assignee:
              harry.chai Harry Chai
              Reporter:
              lino.alves Lino Alves
              Participants of an Issue:
              Recent user:
              Harry Chai
              Engineering Assignee:
              Lino Alves
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 weeks, 4 days ago

                Packages

                Version Package
                Master