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

Use ***Model instance instead of ID in ***PermissionUtil.contains/check as possible as we can.

    Details

      Description

      This change is for performance tuning, no need to test.

      For example, GroupPermissionUtil.contains(PermissionChecker, long, String) needs to find the group with groupId first and finally call GroupPermissionUtil.contains(PermissionChecker, Group, String). We should use the simpler one as possible as we can.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                tina.tian Tina Tian
                Participants of an Issue:
                Recent user:
                Enterprise Release HU
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M1