Forgive me if this is something simple, but I searched the manual and
the mailing lists and couldn't find anything. I want users (e.g.
journalists, photographers) with only very basic permissions (add
articles, images) to be able to change their own passwords. When I log
in as one of these, I see the "Change your password" link in the menu,
but clicking it just results in "You do not have the right to change
user account permissions."
Is it supposed to be like this? "User may add/change staff accounts
and passwords" is the only related permission that I can find, but I
want them to be able to change only their own.
This is with Campsite 2.6.2 (and FreeBSD 6.1, Apache 2.2.3, PHP 4.4.4,
MySQL 4.1.18). Same problem on the demo site. Any help would be
appreciated.
Please copy the attached file (info.php) to /usr/local/campsite/www-common/html/priv/users
directory.
Regards,
Mugur
--- Anders Jensen-Urstad wrote:
> Hello,
>
> Forgive me if this is something simple, but I searched the manual and
> the mailing lists and couldn't find anything. I want users (e.g.
> journalists, photographers) with only very basic permissions (add
> articles, images) to be able to change their own passwords. When I log
> in as one of these, I see the "Change your password" link in the menu,
> but clicking it just results in "You do not have the right to change
> user account permissions."
>
> Is it supposed to be like this? "User may add/change staff accounts
> and passwords" is the only related permission that I can find, but I
> want them to be able to change only their own.
>
> This is with Campsite 2.6.2 (and FreeBSD 6.1, Apache 2.2.3, PHP 4.4.4,
> MySQL 4.1.18). Same problem on the demo site. Any help would be
> appreciated.
>
> --
> Anders Jensen-Urstad
> http://x.unix.se
>
____________________________________________________________________________________
Access over 1 million songs - Yahoo! Music Unlimited
(http://music.yahoo.com/unlimited)
> Please copy the attached file (info.php) to /usr/local/campsite/www-common/html/priv/users
Thanks! The passwords are changed, however it also results in this error:
Fatal error: Call to a member function on a non-object in
/usr/local/campsite/www-common/html/classes/User.php on line 652
line 652: if ($phorumUser->setPassword($this->m_data['Password']) &&
Commenting out line 74 in
/usr/local/campsite/www-common/html/priv/users/do_edit.php,
$editUser->syncPhorumUser();, works as a workaround (as I don't use
phorum).
On 11/2/06, Anders Jensen-Urstad wrote:
> > Please copy the attached file (info.php) to /usr/local/campsite/www-common/html/priv/users
>
> Thanks! The passwords are changed, however it also results in this error:
>
> Fatal error: Call to a member function on a non-object in
> /usr/local/campsite/www-common/html/classes/User.php on line 652
>
> line 652: if ($phorumUser->setPassword($this->m_data['Password']) &&
>
> Commenting out line 74 in
> /usr/local/campsite/www-common/html/priv/users/do_edit.php,
> $editUser->syncPhorumUser();, works as a workaround (as I don't use
> phorum).
>
> --
> Anders Jensen-Urstad
> http://x.unix.se
>