Merge lp:~sinzui/launchpad/unactivated-profile-0 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Brad Crittenden |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11038 |
Proposed branch: | lp:~sinzui/launchpad/unactivated-profile-0 |
Merge into: | lp:launchpad |
Diff against target: |
123 lines (+61/-27) 3 files modified
lib/lp/registry/stories/person/xx-person-home.txt (+47/-0) lib/lp/registry/stories/person/xx-set-preferredemail.txt (+0/-14) lib/lp/registry/templates/person-index.pt (+14/-13) |
To merge this branch: | bzr merge lp:~sinzui/launchpad/unactivated-profile-0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+27950@code.launchpad.net |
Description of the change
This is my branch to hide email addresses on unactivated profile page.
lp:~sinzui/launchpad/unactivated-profile-0
Diff size: 98
Launchpad bug:
https:/
Test command: ./bin/test -vv \
-t xx-person-home.txt
Pre-
Target release: 10.06
Hide email addresses on unactivated profile page
-------
https:/
email address should be visible.
This was caused by the separation of SSO from Lp. The address was activated
via ubuntu's SSO. The fix is to remove the email address block from the
section that shows non-active profiles.
Rules
-----
Why is there no story for what can be seen or done with an unclaimed profile?
Annotate implies the email address is there for Admins, but the permission
is not Admin.
* Add a story that explains what any user can see about an unclaimed
profile.
* Add a story that explains admins can see email address that belong
to profiles that have been activated via SSO.
* Update the template to restrict the email address to launchpad.Admin
* Remove the redundant block to edit the email address...it is already
next to the email address.
QA
--
* Visit https:/
* Verify his email address is not visible.
Lint
----
Linting changed files:
lib/lp/
lib/lp/
Test
----
* lib/lp/
* Add a story that explains what any user can see about an unclaimed
profile.
* Add a story that explains admins can see email address that belong
to profiles that have been activated via SSO.
Implementation
--------------
* lib/lp/
* Change the permission to launchpad.Admin and move it to the start
of the email block
* Removed the redundant paragraph for editing the email address.
* Fixed the indentation of claim team.
Curtis,
Thanks for the quick turn-around on this bug and for the nice test coverage.
Please s/launchpad/ Launchpad in your test narrative.
Also, you demonstrate that an anonymous user cannot see the email address but that an admin can. I think it is important to show what a regular user sees (or doesn't).