| Summary: | [server][user] Adding admin user rights on every startup | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> | ||||
| Component: | Client | Assignee: | John Arthorne <john.arthorne> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Szymon.Brandys | ||||
| Version: | 0.2 | Flags: | Szymon.Brandys:
review+
|
||||
| Target Milestone: | 0.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 197450 [details]
Fix
General fix to avoid adding a right that already exists.
I set '-' at first by mistake, sorry. The patch looks good. Released. |
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/*"}, ...