[Issuetracker-development] Re: Hiding 'change password' for user (2)
Brought to you by:
peterbe
From: Peter B. <pe...@gm...> - 2005-07-25 17:14:37
|
Problem solved. I was able to reproduce it on localhost.=20 The new source change is in the CVS on sourceforge. (It might take an hour or two until it reaches the anonymous sf cvs servers). If you don't want to wait for the CVS I've packaged a pre-0.6.12 release called 0.6.11-kosmas that you can take. It will allow you to check out User.zpt On 7/25/05, Kosmas Chatzimichalis <kos...@pr...> wrot= e: > Thanks for the quick reply Peter. >=20 > I've installed CheckoutableTemplates, which by the way looks a very usefu= l=20 > product, but when I check out the User.zpt and save my changes I have : >=20 > Error type: KeyError > Error value: 'user_lists' >=20 > I have tried to remove the changes and save again but I get the same erro= r. > As soon as I retract the page everything works fine again. >=20 > I've also tried to check out the page, don't make any changes and then sa= ve, >=20 > but I've got the same error. >=20 > Also tried the test tab when editing the User.zpt but again the same. >=20 > These are the last lines from the error.log > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Module Products.PageTemplates.Expressions, line 347, in restrictedTravers= e > - __traceback_info__: {'path': ['user_lists'], > 'TraversalRequestNameStack':=20 > []} > KeyError: 'user_lists' >=20 >=20 > IssueTrackerProduct version: 0.6.10 > Zope: (Zope 2.7.4-0, python 2.3.4, linux2) > Python: 2.3.4 (#2, Feb 9 2005, 14:22:48)=20 > [GCC 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)] > Platform: linux2 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > Any suggestion appreciated.. >=20 > Thanks again. >=20 >=20 > On Monday 25 Jul 2005 15:09, Peter Bengtsson wrote: > > Easy! > > Make sure you have CheckoutableTemplates installed for your issuetracke= r. > > (more info on www.issuetrackerproduct.com/Download) > > Then go to > > http://localhost:8080/myissuetracker/showCheckoutableTemplates and on > > that list find User.zpt which you then check out. > > Edit the Page Template then called "User.zpt" and look for the code:: > > <a href=3D"?change=3Dpassword">Change password</a> > > > > Which you can simply remove or comment out or wrap in some TAL logic > code. > > > > On 7/25/05, Kosmas Chatzimichalis <kos...@pr...>= =20 > wrote: > > > Is it possible to hide the 'Change password' section in a user's page= , > so > > > the > > > user's cannot changer their password? > > > > > > -- > > > --- > > > Kosmas Chatzimichalis > > > > > > Protocus Limited > > > m: +447980214671 > > > e: kos...@pr... > > > w: http://www.protocus.com > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategie= s > > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > > informative Webcasts and more! Get everything you need to get up to > > > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3D= click > > > _______________________________________________ > > > Issuetracker-development mailing list > > > Iss...@li... > > > https://lists.sourceforge.net/lists/listinfo/issuetracker-development >=20 > --=20 > --- > Kosmas Chatzimichalis >=20 > Protocus Limited > m: +447980214671 > e: kos...@pr... > w: http://www.protocus.com > --=20 > --- >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&opclick > _______________________________________________ > Issuetracker-development mailing list > Iss...@li... > https://lists.sourceforge.net/lists/listinfo/issuetracker-development >=20 --=20 Peter Bengtsson,=20 work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com |