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

Bug 348462

Summary: [server][user] Adding admin user rights on every startup
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 0.2Flags: Szymon.Brandys: review+
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Fix none

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.