launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #19098
[Merge] lp:~bryanquigley/launchpad/devel into lp:launchpad
Bryan Quigley has proposed merging lp:~bryanquigley/launchpad/devel into lp:launchpad.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~bryanquigley/launchpad/devel/+merge/266247
Add change password link hardcoded to login.launchpad.net
https://bugs.launchpad.net/launchpad/+bug/1471961
--
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~bryanquigley/launchpad/devel into lp:launchpad.
=== modified file 'lib/lp/registry/browser/person.py'
--- lib/lp/registry/browser/person.py 2015-07-21 09:04:01 +0000
+++ lib/lp/registry/browser/person.py 2015-07-29 15:00:14 +0000
@@ -750,6 +750,12 @@
text = 'Change details'
return Link(target, text, icon='edit')
+ @enabled_with_permission('launchpad.Edit')
+ def password(self):
+ target = 'https://login.launchpad.net/'
+ text = 'Change password'
+ return Link(target, text, icon='edit')
+
@enabled_with_permission('launchpad.Moderate')
def administer(self):
target = '+review'
@@ -4393,7 +4399,7 @@
usedfor = IPersonIndexMenu
facet = 'overview'
title = 'Change person'
- links = ('edit', 'administer', 'administer_account', 'branding')
+ links = ('edit', 'administer', 'administer_account', 'branding', 'password')
classImplements(PersonIndexView, IPersonIndexMenu)
Follow ups