Merge lp:~cprov/launchpad/bug-409208-ppa-search-permissions into lp:launchpad
Proposed by
Celso Providelo
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp:~cprov/launchpad/bug-409208-ppa-search-permissions | ||||
Merge into: | lp:launchpad | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp:~cprov/launchpad/bug-409208-ppa-search-permissions | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | Approve | ||
Review via email: mp+10077@code.launchpad.net |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
= Summary =
This branch fixes https:/ /bugs.edge. launchpad. net/bugs/ 409208, when disabled PPAs were leaking in the PPA search results.
Since https:/ /bugs.edge. launchpad. net/bugs/ 367796 (devel r9015) only owners can view disabled PPAs.
== Proposed fix ==
The fix it trivial, simply filters out disabled PPAs from the search results
== Tests ==
./bin/test -vv -t package-cache.txt
== Demo and Q/A ==
1. As foo.bar disable Celso PPA (~cprov/ +archive/ +ppa)
2. Yet as 'foo.bar' search for PPAs matching 'cprov' in ubuntu/+ppas, you will be able to see it.
3. As anonymous or 'no-priv' repeat the search and you will get nothing.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: soyuz/doc/ package- cache.txt registry/ model/distribut ion.py
lib/lp/
lib/lp/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkq DdNAACgkQ7KBXuX yZSjDNlACdFMQBI 9HNQIiM2YOR/ o86o2EW djvyXpL+ kRt9dciSo
G48AoIjaXSKjgC5
=oBIT
-----END PGP SIGNATURE-----