Closed (fixed)
Project:
Debut
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2011 at 00:44 UTC
Updated:
6 Jun 2012 at 16:41 UTC
When we create the administrator role, we should add UID 1 to it.
Relevant code from standard core install profile:
// Assign user 1 the "administrator" role.
db_insert('users_roles')
->fields(array('uid' => 1, 'rid' => $admin_role->rid))
->execute();
Comments
Comment #1
nedjoNow implemented.