Merge lp:~abentley/launchpad/limit-blueprint-info-types into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | j.c.sackett on 2012-09-06 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15916 |
| Proposed branch: | lp:~abentley/launchpad/limit-blueprint-info-types |
| Merge into: | lp:launchpad |
| Diff against target: |
80 lines (+28/-2) 3 files modified
lib/lp/blueprints/model/specification.py (+2/-1) lib/lp/blueprints/model/tests/test_specification.py (+20/-1) lib/lp/registry/enums.py (+6/-0) |
| To merge this branch: | bzr merge lp:~abentley/launchpad/limit-blueprint-info-types |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| j.c.sackett (community) | 2012-09-06 | Approve on 2012-09-06 | |
|
Review via email:
|
|||
Commit Message
Support only PUBLIC and proprietary types for Blueprints
Description of the Change
= Summary =
Fix bug #1046995: blueprint.
== Proposed fix ==
Limit bugs to PUBLIC, PROPRIETARY and EMBARGOED information types.
== Pre-implementation notes ==
Discussed with deryck
== LOC Rationale ==
Part of private projects
== Implementation details ==
A new tuple, PUBLIC_
== Tests ==
bin/test -t test_getAllowed
== Demo and Q/A ==
Set the feature flag "blueprints.
Go to a blueprint and click "edit" for its information type. Only public, proprietary and embargoed shoould be shown.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
| William Grant (wgrant) wrote : | # |
This is normally done by using the pillar's allowed information types, which are dictated by the sharing policy. See eg. Product.
| Aaron Bentley (abentley) wrote : | # |
> This is normally done by using the pillar's allowed information types, which
> are dictated by the sharing policy. See eg.
> Product.
Right, but Product does not yet define allowed information types for Specifications. The proposal to add it is here: https:/

Looks good.