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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
0c723217
Commit
0c723217
authored
May 13, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-113' into 'master'
Remove outdated comments. See merge request gitlab-org/gitlab!31853
parents
c3bdfce5
3a85905a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
app/models/user.rb
app/models/user.rb
+0
-3
No files found.
app/models/user.rb
View file @
0c723217
...
...
@@ -249,15 +249,12 @@ class User < ApplicationRecord
enum
layout:
{
fixed:
0
,
fluid:
1
}
# User's Dashboard preference
# Note: When adding an option, it MUST go on the end of the array.
enum
dashboard:
{
projects:
0
,
stars:
1
,
project_activity:
2
,
starred_project_activity:
3
,
groups:
4
,
todos:
5
,
issues:
6
,
merge_requests:
7
,
operations:
8
}
# User's Project preference
# Note: When adding an option, it MUST go on the end of the array.
enum
project_view:
{
readme:
0
,
activity:
1
,
files:
2
}
# User's role
# Note: When adding an option, it MUST go on the end of the array.
enum
role:
{
software_developer:
0
,
development_team_lead:
1
,
devops_engineer:
2
,
systems_administrator:
3
,
security_analyst:
4
,
data_analyst:
5
,
product_manager:
6
,
product_designer:
7
,
other:
8
},
_suffix:
true
delegate
:path
,
to: :namespace
,
allow_nil:
true
,
prefix:
true
...
...
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