Affects Version/s: 6.2.3 CE GA4, 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M5, 7.0.0 DXP SP1, Master
Component/s: Application Security > Permissions
ResourceBlockPermission table grows with orphan rows.
This can be tested example:
1. Empty Liferay installation
2. Insert 3 teams to default site.
3. Insert 5 Bookmarks
4. Give multiple permissions to these teams. So that you check multiple teams with same time. See: Screen Shot 2015-04-28 at 2010.50.16.png
5. You expect to see 0 from following query:
But you see larger than 0.