Details

      Description

      InlineSQLHelper is a utility class that allows Liferay to do a filtering based on VIEW permission when fetching results from the database from the persistence. 

      Service Builder will generate filterFind and filterCount methods that will check the view permission. This is done by modifying the SQL query to consider VIEW permission so the database will directly return the results that the user is allowed to view. InlineSQLHelper is the responsible of modifying this query to consider the VIEW permission.

      This will work only if the portal.property permissions.inline.sql.check.enabled is enabled.

      Right now the implementation of the util class is in portal-impl which makes it very monolithic and impossible to extend or customise. 

      The goal of this task is to move the implementation class to an OSGi module and deprecate the core util class.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            sergio.gonzalez Sergio Gonzalez (Inactive)
            Recent user:
            Csaba Turcsan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.1.10 DXP FP1
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master