The optmized acls (read acls) is available with h2 and PostgreSQL dialect, for now the list of permissions that gives the read access is hardcoded to :
'Read', 'ReadWrite', 'Everything', 'Browse'
This list must be taken from a table so it can be customized without having to change the stored procedure.