[development] Block user deletion
Daniel F. Kudwien
news at unleashedmind.com
Tue Apr 14 20:11:59 UTC 2009
Sounds like a nice follow-up to http://drupal.org/node/8 ...
"Cancel any account" permission (in addition to the new "Cancel account"
permission)
Logically those would equal the node permissions we have already: "delete
own foo content" + "delete any foo content".
sun
> -----Original Message-----
> From: development-bounces at drupal.org
> [mailto:development-bounces at drupal.org] On Behalf Of Nabil Alsharif
> Sent: Tuesday, April 14, 2009 9:33 PM
> To: development at drupal.org
> Subject: [development] Block user deletion
>
> The issue is I need some users to be able to edit other users
> info but not delete them. There is no permission that I can
> see that allows editing of users profiles but not deleting
> them. My second guess was to write a module but I don't see
> anything in the API that will let me control user access the
> way I need. Neither could I find a way to block the deletion
> (I know hackish).
>
> Any pointers in the right direction are greatly appreciated.
>
More information about the development
mailing list