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
323e64ee
Commit
323e64ee
authored
Feb 08, 2019
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update spec and fix Danger
parent
440d6eac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
ee/changelogs/unreleased/5014-automatically-deprovision-users-when-removed-from-a-configured-identity-provider.yml
...sers-when-removed-from-a-configured-identity-provider.yml
+6
-0
ee/spec/requests/api/scim_spec.rb
ee/spec/requests/api/scim_spec.rb
+9
-9
No files found.
ee/changelogs/unreleased/5014-automatically-deprovision-users-when-removed-from-a-configured-identity-provider.yml
0 → 100644
View file @
323e64ee
---
title
:
Resolve Automatically deprovision users when removed from a configured identity
provider
merge_request
:
9388
author
:
type
:
added
ee/spec/requests/api/scim_spec.rb
View file @
323e64ee
...
...
@@ -3,18 +3,18 @@
require
'spec_helper'
describe
API
::
Scim
do
describe
'GET api/scim/v2/groups/:group/Users'
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:identity
)
{
create
(
:group_saml_identity
,
user:
user
)
}
let
(
:group
)
{
identity
.
saml_provider
.
group
}
let
(
:token
)
{
create
(
:personal_access_token
,
user:
user
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:identity
)
{
create
(
:group_saml_identity
,
user:
user
)
}
let
(
:group
)
{
identity
.
saml_provider
.
group
}
let
(
:token
)
{
create
(
:personal_access_token
,
user:
user
)
}
before
do
stub_licensed_features
(
group_saml:
true
)
before
do
stub_licensed_features
(
group_saml:
true
)
group
.
add_owner
(
user
)
end
group
.
add_owner
(
user
)
end
describe
'GET api/scim/v2/groups/:group/Users'
do
it
'responds with a 200'
do
get
api
(
"scim/v2/groups/
#{
group
.
full_path
}
/Users"
,
user
,
oauth_access_token:
token
,
version:
''
)
...
...
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