[consulting] Restrict Group Access to one User Login Account

Bhavin Joshi bhavinjosi at joshics.in
Thu Oct 8 15:39:11 UTC 2009


>
> My problem is:
>
> How do I restrict a username (ex. Nursing) from accessing the
> user/(number)/edit and going to the Account Information section where they
> can change the email and reset the password? I don't want one student to be
> able to block out 100+ fellow students. That just seems like asking for
> trouble.
>   
Develop a custom module and write down hook_menu_alter()
Here, you have to sett access_arguments such that no user but the admin, 
can view/edit user profiles

Regards.



-- 
Bhavin H. Joshi

Mobile: +91 999 886 0979
Skype: bhavinjoshi19
http://joshics.in
Portfolio: http://sites.google.com/site/bhavinhjoshi/portfolio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bhavinjosi.vcf
Type: text/x-vcard
Size: 293 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/consulting/attachments/20091008/69998b26/attachment.vcf 


More information about the consulting mailing list