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

Peter Wolanin pwolanin at gmail.com
Fri Jul 27 01:12:07 UTC 2007


However, it also allows novice admins to lock themselves out of
permissions like "administer access control"...

-Peter

On 7/26/07, Khalid Baheyeldin <kb at 2bits.com> wrote:
> 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.
>
>
>


More information about the development mailing list