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

              brian.chan Brian Chan
              tina.tian Tina Tian
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 years, 37 weeks, 6 days ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M1