Community
Participate
Working Groups
In an identical issue to Bug 413655 ( AuthorizationService.addUserRight() adds roles before the admin user is created ), the server tests need a similar tweak to how it interacts with users in the MetaStore The AbstractServerTest adds a user in createUser() but does not add the user to the MetaStore via an addUser(). This change is required just like the change we made in Bug 413655. In addition, the Git tests make the call: AuthorizationService.removeUserRight("test", "/"); when it should not be assuming the userId and loginId match, the implementation should be AuthorizationService.removeUserRight(testUserId, "/"); to match the addUserRight() implementation in the AbstractServerTest
Fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=5aa62b7c35470ee750285d21695dea24cf6d89dc The git tests run successfully with this change.