Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354654 - [user] Administrator cannot create or list users
Summary: [user] Administrator cannot create or list users
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: 0.3   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-12 14:00 EDT by Mark Macdonald CLA
Modified: 2011-09-15 06:19 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.