Community
Participate
Working Groups
0.3 M1 When a project is deleted, we do not delete the user rights entry for that project. I can see from the metadata that I have a very long list of user rights for things that no longer exists...
*** Bug 360277 has been marked as a duplicate of this bug. ***
While working on this I discovered some of the user rights are redundant anyway. When we create a project 'B' in workspace 'A', we add the following rights: /workspace/A/project/B /workspace/A/project/B/* /file/B /file/B/* However the first two are redundant. The user will already have rights to: /workspace/A/* Because of their workspace ownership. So all we need to add when a project is created is: /file/B /file/B/*
Fix and regression tests: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?h=bug356974&id=33446db3caa287227df44691e9222fcd18e56464
Pushed to master: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=33446db3caa287227df44691e9222fcd18e56464
For cross-reference, this bug only fixed the file servlet. Similar code is used in the Git servlet which was not fixed. See bug 382147 for the git servlet case.