Merge lp:~abentley/launchpad/projectgroup-private-projects into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 16179 | ||||
| Proposed branch: | lp:~abentley/launchpad/projectgroup-private-projects | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
641 lines (+210/-49) 14 files modified
lib/lp/bugs/model/bugtasksearch.py (+6/-2) lib/lp/registry/browser/__init__.py (+3/-1) lib/lp/registry/browser/milestone.py (+1/-1) lib/lp/registry/browser/tests/test_projectgroup.py (+44/-1) lib/lp/registry/configure.zcml (+1/-1) lib/lp/registry/doc/milestone.txt (+3/-2) lib/lp/registry/interfaces/milestone.py (+3/-2) lib/lp/registry/model/milestone.py (+14/-10) lib/lp/registry/model/milestonetag.py (+1/-2) lib/lp/registry/model/projectgroup.py (+18/-9) lib/lp/registry/tests/test_milestone.py (+64/-13) lib/lp/registry/tests/test_milestonetag.py (+3/-3) lib/lp/registry/tests/test_project_milestone.py (+1/-1) lib/lp/registry/tests/test_projectgroup.py (+48/-1) |
||||
| To merge this branch: | bzr merge lp:~abentley/launchpad/projectgroup-private-projects | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brad Crittenden (community) | code | 2012-10-19 | Approve on 2012-10-19 |
|
Review via email:
|
|||
Commit Message
Fix milestone and projectgroup privacy bugs.
Description of the Change
= Summary =
Fix bug #1063291: Project groups are broken by private projects
== Proposed fix ==
Change Milestone.
Change bugtasksearch.
Change ProjectGroup.
== Pre-implementation notes ==
Had a call with deryck to discuss test_getSpecifi
== LOC Rationale ==
part of Private Projects
== Implementation details ==
ProjectGroup.
Deletion code currently only considers items the user can see. We expect that deletion may oops in cases where, e.g. a milestone has a proprietary blueprint assigned, but will fix in a follow-up.
== Tests ==
bin/test -t test_getSpecifi
== Demo and Q/A ==
- Add a public and proprietary project to a project group
- Add two milestones to the proprietary project.
- Add one milestone to the public project with the same name as one of the proprietary projects.
- Add public specifications and bug tasks to all the milestones
- Log in as an unprivileged user. You should see only one milestone, and on that milestone, only the bug tasks and milestones for the public project.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/

Hi Aaron,
This change looks good. Thanks.