Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348462 - [server][user] Adding admin user rights on every startup
Summary: [server][user] Adding admin user rights on every startup
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-06 15:18 EDT by John Arthorne CLA
Modified: 2011-09-01 11:42 EDT (History)
1 user (show)

See Also:
Szymon.Brandys: review+


Attachments
Fix (1.14 KB, patch)
2011-06-06 15:29 EDT, John Arthorne CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-06-06 15:18:24 EDT
If I look at server metadata I see we are adding the "admin" user rights on each server startup:

admin/UserRights=[
  {"Method"\:15,"Uri"\:"/users"},
  {"Method"\:15,"Uri"\:"/users/*"},
  {"Method"\:15,"Uri"\:"/users"},
  {"Method"\:15,"Uri"\:"/users/*"},
  {"Method"\:15,"Uri"\:"/users"},
  {"Method"\:15,"Uri"\:"/users/*"},
  {"Method"\:15,"Uri"\:"/users"},
  {"Method"\:15,"Uri"\:"/users/*"},
  {"Method"\:15,"Uri"\:"/users"},
  {"Method"\:15,"Uri"\:"/users/*"},
  {"Method"\:15,"Uri"\:"/users"},
  {"Method"\:15,"Uri"\:"/users/*"},
...
Comment 1 John Arthorne CLA 2011-06-06 15:29:27 EDT
Created attachment 197450 [details]
Fix

General fix to avoid adding a right that already exists.
Comment 2 Szymon Brandys CLA 2011-06-08 05:28:30 EDT
I set '-' at first by mistake, sorry. The patch looks good.
Comment 3 John Arthorne CLA 2011-06-08 09:38:20 EDT
Released.