| Summary: | [server] default admin user not created on new server startup | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anthony Hunter <ahunter.eclipse> |
| Component: | Server | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 8.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Anthony Hunter
This issue is fixed with commit: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=42023c6e47c9d413e05a7d810157fe63ecf1ddd7 This issue was not fixed sufficiently. The initializeAdminUser() was missing the hack to allow the LoggedInUserFilter to work, It needed the AuthorizationService.addUserRight() update. The initializeAdminUser() was also failing sometimes because the UserName cache was not yet initialized so it was thinking the admin user did not exist and recreated it. I can duplicate these issues in the development environment but they did not occur on orion.eclipse.org or orionhub. I have resolved both issues in commit: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=f8981f49bf50089fc335ad563c2eb5a7bbed41bf |