feat(acl): Added initial acl methods and fixed an issue in the query builder