[development] using UID 1 (was Re: Overriding node_db_rewrite_sql())

Khalid Baheyeldin kb at 2bits.com
Thu Jul 26 23:22:03 UTC 2007

On 7/26/07, Ken Rickard <agentrickard at gmail.com> wrote:
> Now this second point isn't relevant to the entire Drupal community,
> obviously, but it also makes a case for replacing the special user 1
> entirely with a default 'administrative user' role that is assigned to user
> 1 and can then be assigned to other users.

I think creating an admin role, giving it all permissions (programmatically,
not via teh checkboxes), then assigning user 1 to that role is the way to go
for core Drupal.

It allows users to be granted/revoked admin privileges dynamically.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070726/6205188d/attachment.htm 

More information about the development mailing list