| Summary: | GitCloneHandlerV1 doesn't correctly add/remove project permissions | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> | ||||||
| Component: | Git | Assignee: | John Arthorne <john.arthorne> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | Szymon.Brandys | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 1.0 M1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
John Arthorne
Created attachment 217097 [details]
Ken's projects and permissions
Just for reference this is data I used to track down the problem. This is Ken's current permissions on orion.eclipse.org, and the set of projects that Ken actually has in his workspace. Permissions of this form should not exist at all:
{"Method"\:15,"Uri"\:"/workspace/E/project/Id"},
{"Method"\:15,"Uri"\:"/workspace/E/project/Id/*"},
And any permissions that still exist that don't have an existing project, I suspect Ken deleted from the Repositories page.
Created attachment 217105 [details]
Fix
The above patch removes the duplicated code between GitCloneHandler and WorkspaceResourceHandler. This is too scary for 0.5 so maybe there is a quick fix (like disable deletion from the repositories page - you can delete in the navigator anyway). |