Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
222
Merge Requests
222
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
a082f0c3
Commit
a082f0c3
authored
May 16, 2010
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#704354
by dmitrig01: add user 1 to the administrator role in standard.profile.
parent
c3d92dc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
profiles/standard/standard.install
profiles/standard/standard.install
+5
-0
No files found.
profiles/standard/standard.install
View file @
a082f0c3
...
...
@@ -415,6 +415,11 @@ function standard_install() {
// Set this as the administrator role.
variable_set
(
'user_admin_role'
,
$admin_role
->
rid
);
// Assign user 1 the "administrator" role.
db_insert
(
'users_roles'
)
->
fields
(
array
(
'uid'
=>
1
,
'rid'
=>
$admin_role
->
rid
))
->
execute
();
// Update the menu router information.
menu_rebuild
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment