Okie, so the question sounds dumb, cos obviously the user needs to click on the edit tab and make cahnges in the resulting form... But what if that doesnt happen?
A lil background here... We've implemented drupal for our Knowledge Mangement initiative, and got users to register into the website. Administrators approve these new accounts as and when they are created. Now, the user should be able to login to the website and edit his account settings as and when he pleases. But when a user hits the EDIT tab in the My Account section, it shows the ACCESS DENIED page.
Someone please help out here!
In access control section, i enabled "administer users" in the user module. This gave all users the right to change other user profiles as well... So i disabled this function again.
I'd like to know why a user is not able to change his own account settings, and how i can enable this feature.
Regards
Joe
Comments
out of the box settings allow users to edit their accounts
the out of the box default is users are allowed to edit their own accounts.
I hacked the user module (version 4.5.) recently for a project that wanted the users to be able to edit their own account settings (username, password etc.), but couldn't change any other details..i.e. there was a few more tabs in their profiles.
which version of drupal are you using?
As a long shot guess, users shouldn't be seeing the EDIT tab at all if you have ADMINISTER USERS switched off. It's plausible that you might be able to see it because the page is loaded from cache and when you click on the edit tab, the access is checked and it gives the access denied message.
Hope that makes sense..
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
Drupal version
Hi Dub,
thanks for the feddback... we using version 4.6
you sayin that we need to switch on ADMNINISTER USERS? But doesnt that give users the option to edit other user profiles as well?
Joe
nope
sorry Joe,
I probably wasn't clear...
the out of the box settings is that users are allowed edit their own accounts...
if you decide to change the out-of-the-box settings and enable everyone to administer users (which you did) it means users can edit everyone elses account. If you switch that off (which you did) the edit tab might appear because the page is being loaded from cache and when you clicked on it you saw the access denied message.
Normally only users who have administration rights will see the edit tab.
Hope that makes sense..
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
Comprende!
Okie so i got that! So we did the switchin on and switchin off bit. And its true we've enabled caching.
But in all logic, aint the users supposed to edit their own profiles?! The default mail that goes out to members also specifies the link to edit their profiles. So if this is actually not possible, it doesnt make sense having that in the mail. Does it mean we need to take its mention off from the mail?
Thanks
Joe
hiya
Probably better to look here Joe...I'm not explaining it very well.
http://drupal.org/handbook/modules/user
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
Profile module the culprit!
I'm having trouble believing this. Out of sheer frustration, I disabled the profile module and everything works perfectly - the users can edit their settings again. But I need to let my users add extra information to their profile. How can I solve this?
TIA,
Joe
how to user edit their own profile...
dear duplin, am using drupal 5.11 for developing website. i want to edit user their own profile.... for this any solution.... i installed webform module for getting user information.... any other module available to get user information...
Hey Dub,
Hey Dub,
I'm trying to do something similar to your hack - I only want users with a specific role of "artist" to be able to have and edit their "artist profile" while other users don't even have artist profile. any ideas?