Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
45ef553a
Commit
45ef553a
authored
Aug 18, 2014
by
exromany
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update user_management.md
add rails_env to commands
parent
54c20837
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/raketasks/user_management.md
doc/raketasks/user_management.md
+4
-4
No files found.
doc/raketasks/user_management.md
View file @
45ef553a
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
sudo
gitlab-rake gitlab:import:user_to_projects[username@domain.tld]
sudo
gitlab-rake gitlab:import:user_to_projects[username@domain.tld]
# installation from source or cookbook
# installation from source or cookbook
bundle
exec
rake gitlab:import:user_to_projects[username@domain.tld]
RAILS_ENV
=
production
bundle
exec
rake gitlab:import:user_to_projects[username@domain.tld]
```
```
## Add all users to all projects
## Add all users to all projects
...
@@ -21,7 +21,7 @@ Notes:
...
@@ -21,7 +21,7 @@ Notes:
sudo
gitlab-rake gitlab:import:all_users_to_all_projects
sudo
gitlab-rake gitlab:import:all_users_to_all_projects
# installation from source or cookbook
# installation from source or cookbook
bundle
exec
rake gitlab:import:all_users_to_all_projects
RAILS_ENV
=
production
bundle
exec
rake gitlab:import:all_users_to_all_projects
```
```
## Add user as a developer to all groups
## Add user as a developer to all groups
...
@@ -31,7 +31,7 @@ bundle exec rake gitlab:import:all_users_to_all_projects
...
@@ -31,7 +31,7 @@ bundle exec rake gitlab:import:all_users_to_all_projects
sudo
gitlab-rake gitlab:import:user_to_groups[username@domain.tld]
sudo
gitlab-rake gitlab:import:user_to_groups[username@domain.tld]
# installation from source or cookbook
# installation from source or cookbook
bundle
exec
rake gitlab:import:user_to_groups[username@domain.tld]
RAILS_ENV
=
production
bundle
exec
rake gitlab:import:user_to_groups[username@domain.tld]
```
```
## Add all users to all groups
## Add all users to all groups
...
@@ -45,5 +45,5 @@ Notes:
...
@@ -45,5 +45,5 @@ Notes:
sudo
gitlab-rake gitlab:import:all_users_to_all_groups
sudo
gitlab-rake gitlab:import:all_users_to_all_groups
# installation from source or cookbook
# installation from source or cookbook
bundle
exec
rake gitlab:import:all_users_to_all_groups
RAILS_ENV
=
production
bundle
exec
rake gitlab:import:all_users_to_all_groups
```
```
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