Not let a user change their own password/settings

kelvinj

Joined: 2005-03-15
Posts: 4
Posted: Tue, 2005-03-15 06:25

How can i make it so a certain user is unable to change their own account settings? (including password...email...etc). Thanks :)

PS- i know there are posts about this in the g1 forums, but I didn't find a .users file in the albums directory....

thanks!

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-03-15 15:45

modules/core/module.inc function getUserAdminViews you'll see where it adds links for account settings and change password.. also in getSystemLinks it adds Account Settings link. you can change the code in either place to remove available links. if you wish you could also remove or rename the matching *.inc files in module/core so users can't make changes even if they figure out how to manually construct links to these views.