-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: 7.1.10 DXP FP1, 7.1.1 CE GA2, 7.1.10.1 SP1, 7.1.X, Master
-
Component/s: Application Security > Permissions
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Git Pull Request:
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.