Commit 5fbb8b27 authored by Mike Greiling's avatar Mike Greiling

Merge branch '11607-group-saml-setting-toggles-have-no-effect' into 'master'

Resolve "Group SAML setting toggles have no effect"

Closes #11607

See merge request gitlab-org/gitlab-ee!13078
parents abe1a4e7 000b3684
......@@ -4,11 +4,13 @@ import SCIMTokenToggleArea from 'ee/saml_providers/scim_token_toggle_area';
export default function initSAML() {
const groupPath = document.querySelector('#issuer').value;
// eslint-disable-next-line no-new
new SCIMTokenToggleArea(
'.js-generate-scim-token-container',
'.js-scim-token-container',
groupPath,
);
if (gon.features.groupScim) {
// eslint-disable-next-line no-new
new SCIMTokenToggleArea(
'.js-generate-scim-token-container',
'.js-scim-token-container',
groupPath,
);
}
new SamlSettingsForm('#js-saml-settings-form').init();
}
......@@ -7,6 +7,9 @@ class Groups::SamlProvidersController < Groups::ApplicationController
before_action :authorize_manage_saml!
before_action :check_group_saml_available!
before_action :check_group_saml_configured
before_action do
push_frontend_feature_flag(:group_scim)
end
def show
@saml_provider = @group.saml_provider || @group.build_saml_provider
......
---
title: Add feature flag to group_scim javascript
merge_request: 13078
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment