Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354654

Summary: [user] Administrator cannot create or list users
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ServerAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: malgorzata.tomczyk, Szymon.Brandys, tomasz.zarna
Version: 0.2   
Target Milestone: 0.3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-08-12 14:00:15 EDT
Orion 0.3M1 candidate (I201108112200)

1. Set an admin password in your orion.conf file
2. Log in as admin
3. Go to /profile/user-list.html
4. I see "Loading users...", but a 403 error appears in the console:
> Error: Unable to load /users status:403
> http://localhost:8080/org.dojotoolkit/dojo/dojo.js.uncompressed.js Line 10588

The page never finishes loading, so I can't mange the existing users.
Comment 1 John Arthorne CLA 2011-09-01 11:09:15 EDT
Ping, I just reproduced this. I debugged quickly and I think it might be caused by recent auth changes. SecureStorageCredentialsService#initStorage uses the user id of "admin" when setting access rights. However when the admin user is created they are assigned a sequential UUID such as "A", "B", etc. Hence when we check for permissions on user "A", it doesn't find the permissions given to user "admin".
Comment 2 John Arthorne CLA 2011-09-14 17:12:39 EDT
Ping, could Gosia look at this? Due to this bug we cannot create or list users on orion.eclipse.org.
Comment 3 Szymon Brandys CLA 2011-09-15 03:51:52 EDT
This is a regression caused by Bug 336699 or dependent. Moving to Gosia.
Comment 4 Malgorzata Janczarska CLA 2011-09-15 06:19:47 EDT
(In reply to comment #2)
> Ping, could Gosia look at this? Due to this bug we cannot create or list users
> on orion.eclipse.org.
There was a bug indeed connected with bug 336699. Everything should work fine now, please check when current version is installed on orion.eclipse.org.