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

When Sharing is disabled at the system level, success message should not appear when a user when tries to enable at the instance level



      Steps to reproduce:

      1. Navigate to System Settings > Sharing
      2. Disable Sharing (uncheck box)
      3. Navigate to Instance Settings > Miscellaneous > Sharing
      4. Assert Sharing is disabled
      5. Click on toggle to enable Sharing
      6. Click save
      7. Assert system returns a success message

      Expected result:
      The toggle is enabled for Sharing.

      Actual result:
      The toggle is still disabled.

      If Sharing is disabled in System Settings, a user either:
      1. Cannot interact with the toggle in instance settings or
      2. Will see an error message telling them that they cannot enable Sharing

      Furthermore if Sharing is disabled in System Settings > System Scope > Sharing, the checkbox in System Settings > Virtual Instance Scope > Virtual Instance Sharing should also be disabled. Otherwise this could become confusing to the end user.

      This seems to be related to LPS-91646, except instead of Site Settings it is Instance Settings in view here.

      Reproduced on:
      Tomcat 9.0.10 + MySQL 5.7.
      Portal master 5d381205b72df3366372212579289d7311191562


          Issue Links



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


                • Created:
                  Days since last comment:
                  36 weeks ago


                  Version Package