Fix database resource permissions
The document permission of efa-resource-manager.xqm does not have the SetUID-flag set. However, it is required so that XQuery is executed with the privileges of the HTTP-authenticated user.
Also, the whole EFA application should use its own database user and group.