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
61b89bbc
Commit
61b89bbc
authored
Jul 24, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
parent
7d7d4bcb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
20 deletions
+1
-20
db/schema.rb
db/schema.rb
+0
-4
doc/api/users.md
doc/api/users.md
+1
-13
spec/requests/api/users_spec.rb
spec/requests/api/users_spec.rb
+0
-3
No files found.
db/schema.rb
View file @
61b89bbc
...
@@ -11,11 +11,7 @@
...
@@ -11,11 +11,7 @@
#
#
# It's strongly recommended that you check this file into your version control system.
# It's strongly recommended that you check this file into your version control system.
<<<<<<<
HEAD
ActiveRecord
::
Schema
.
define
(
version:
20180718100455
)
do
=======
ActiveRecord
::
Schema
.
define
(
version:
20180722103201
)
do
ActiveRecord
::
Schema
.
define
(
version:
20180722103201
)
do
>>>>>>>
upstream
/
master
# These are extensions that must be enabled in order to support this database
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
enable_extension
"plpgsql"
...
...
doc/api/users.md
View file @
61b89bbc
...
@@ -253,12 +253,8 @@ Parameters:
...
@@ -253,12 +253,8 @@ Parameters:
"can_create_project"
:
true
,
"can_create_project"
:
true
,
"two_factor_enabled"
:
true
,
"two_factor_enabled"
:
true
,
"external"
:
false
,
"external"
:
false
,
<<<<<<<
HEAD
"private_profile"
:
false
,
"private_profile"
:
false
,
"shared_runners_minutes_limit"
:
133
"shared_runners_minutes_limit"
:
133
=======
"private_profile"
:
false
>>>>>>>
upstream/master
}
}
```
```
...
@@ -298,12 +294,8 @@ Parameters:
...
@@ -298,12 +294,8 @@ Parameters:
-
`skip_confirmation`
(optional) - Skip confirmation - true or false (default)
-
`skip_confirmation`
(optional) - Skip confirmation - true or false (default)
-
`external`
(optional) - Flags the user as external - true or false(default)
-
`external`
(optional) - Flags the user as external - true or false(default)
-
`avatar`
(optional) - Image file for user's avatar
-
`avatar`
(optional) - Image file for user's avatar
<<<<<<< HEAD
-
`private_profile`
(optional) - User's profile is private - true or false
-
`private_profile`
(optional) - User's profile is private - true or false
-
`shared_runners_minutes_limit`
(optional) - Pipeline minutes quota for this user
-
`shared_runners_minutes_limit`
(optional) - Pipeline minutes quota for this user
=======
-
`private_profile (optional) - User's profile is private - true or false
>>>>>>> upstream/master
## User modification
## User modification
...
@@ -335,11 +327,7 @@ Parameters:
...
@@ -335,11 +327,7 @@ Parameters:
-
`external`
(optional) - Flags the user as external - true or false(default)
-
`external`
(optional) - Flags the user as external - true or false(default)
-
`shared_runners_minutes_limit`
(optional) - Pipeline minutes quota for this user
-
`shared_runners_minutes_limit`
(optional) - Pipeline minutes quota for this user
-
`avatar`
(optional) - Image file for user's avatar
-
`avatar`
(optional) - Image file for user's avatar
<<<<<<< HEAD
-
`private_profile`
(optional) - User's profile is private - true or false
- `
private_profile
` (optional) - User's profile is private - true or false
=======
- `
private_profile (optional) - User's profile is private - true or false
>>>>>>> upstream/master
On password update, user will be forced to change it upon next login.
On password update, user will be forced to change it upon next login.
Note, at the moment this method does only return a
`404`
error,
Note, at the moment this method does only return a
`404`
error,
...
...
spec/requests/api/users_spec.rb
View file @
61b89bbc
...
@@ -638,7 +638,6 @@ describe API::Users do
...
@@ -638,7 +638,6 @@ describe API::Users do
expect
(
user
.
reload
.
private_profile
).
to
eq
(
true
)
expect
(
user
.
reload
.
private_profile
).
to
eq
(
true
)
end
end
<<<<<<<
HEAD
# EE
# EE
it
"updates shared_runners_minutes_limit"
do
it
"updates shared_runners_minutes_limit"
do
expect
do
expect
do
...
@@ -650,8 +649,6 @@ describe API::Users do
...
@@ -650,8 +649,6 @@ describe API::Users do
expect
(
json_response
[
'shared_runners_minutes_limit'
]).
to
eq
(
133
)
expect
(
json_response
[
'shared_runners_minutes_limit'
]).
to
eq
(
133
)
end
end
=======
>>>>>>>
upstream
/
master
it
"does not update admin status"
do
it
"does not update admin status"
do
put
api
(
"/users/
#{
admin_user
.
id
}
"
,
admin
),
{
can_create_group:
false
}
put
api
(
"/users/
#{
admin_user
.
id
}
"
,
admin
),
{
can_create_group:
false
}
...
...
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