Owner permissions are not evaluated anymore in the Enterprise code

Description

After the fix on https://alfresco.atlassian.net/browse/APPS-766 the ownership is not evaluated anymore in the enterprise, as the overridden method has been moved inside the PermissionAssessor class and a dead method has been left inside the DbQueryEngine (hence it's still compiling).

Please put back the logic, maybe using a new PermissionAssessorEnterprise, and remove the dead code from community release. Please add a specific unit test to validate the logic of this new object for owner evaluation (standard node / nodeWithOwnership).

Environment

None
Done

Assignee

Unassigned

Reporter

Bruno Bossola

Labels

None

Regression

Regression

Bug Priority

Category 1

Delivery Team

Team 5

Release Train

Iver

Sprint

None

Affects versions