ezsystems/ezp-next — pull request #72 by emodric (2012-10-03 00:34:26+00:00)
Title: Fixed: EZP-168 API integration failure in InMemory tests

Repository::hasAccess & Repository::canUser methods were not implemented
correctly in regards to role limitations. They only checked for role policies.

This implementation is realized similar to how matching repository methods are
implemented in Core.

Pull request also includes a commit that fixes LocationServiceTest::testDeleteLocation which was deleting Administrators group, which caused the admin user to be left without permissions.

Review needed mostly from @tobyS