Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-11 22:32:28

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

r1669 send_new_password doesn't work for non-publishers

[this is not just in r1667, but also exists in version 4.0.3]

Steps to reproduce:
1. log in as an under-priviledged user, say a ‘freelancer’
2. click the right-top “Go…” menu and choose ‘site admin’.
3. enter your new password and check the ‘mail it to me’ box
4. hit ‘submit’
5. you’re now in a restricted area

… and the password didn’t get mailed.

textpattern/include/txp_admin.php contains the function ‘send_new_password’, which has this line:
<code>require_privs(‘admin.edit’);</code>

Removing that lines fixes the ‘mail it to me’ functionality, but I suspect it was there for safety reasons…

Last edited by ruud (2006-08-11 22:37:07)

Offline

#2 2006-08-16 06:47:31

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: r1669 send_new_password doesn't work for non-publishers

Isn’t there the problem, that “autors” cannot access the “admin”-tab and therefore cannot initialize the new-password-mechanism. I’d love that authors could just change their password, but this does not work either.

Perhaps, there should be a “My Profile”-Tab, where each autor can change the password.

Offline

#3 2006-08-16 07:23:55

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: r1669 send_new_password doesn't work for non-publishers

They can access the admin-tab (site admin / users), but only using one of the pull down menu’s (either top-right or at the bottom), which is hard to find, unless you know where it is. Having the admin tab visible or a ‘my profile’ tab would be an improvement I’d welcome.

The users can change their password just fine, it’s just the sending of the password by mail that fails.

PS. I’ve posted a patch that fixes this problem to the txp-dev list last night.

Offline

Board footer

Powered by FluxBB