How to restrict the users profile only edit by admin? Users can only view. Help please, thank you!

Comments

johnhesston’s picture

BUMP. I'm using mysite module and want to do the same. I don't want users to edit their profile. Admin sets default profile layout for them.

And anyone know how to make it so users are redirected to their mysite page when they log on?

Toxic Avenger’s picture

Hi!

Try "user readonly" module. I'm using it right now and works great!

sh137’s picture

I managed to get it run on Drupal 5.x . If this will work for Drupal6, then it will be great! Anyway, thanks for your help, Toxic Avenger.

Drdoog’s picture

User readonly worked for me on drupal 7, but it did not remove the modify button. There isnt any "submit" field anymore so the user can still click modify but cannot modify anything.

So I think that works out well.
Thanks !

star-szr’s picture

For Drupal 7 check out the Edit own user account permission module.