Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_base_profile
Commits
d8efd2a9
Commit
d8efd2a9
authored
Nov 22, 2017
by
Tyler Struyk
Browse files
updated externauth patch from comment 14 to 17
parent
4c5d13f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
composer.json
View file @
d8efd2a9
...
...
@@ -99,7 +99,7 @@
"ISTWCMS-2268: Rewrite the samlauth to allow for autoassigning roles"
:
"patches/modules/samlauth/remove_presave_hook-samlauth-2925171-1.patch"
},
"drupal/externalauth"
:
{
"ISTWCMS-2267: Remove provider prefix to username (samlauth_)"
:
"patches/modules/externalauth/optional_prefix-externalauth-2798323-1
4
.patch"
"ISTWCMS-2267: Remove provider prefix to username (samlauth_)"
:
"patches/modules/externalauth/optional_prefix-externalauth-2798323-1
7
.patch"
}
}
}
...
...
patches/modules/externalauth/optional_prefix-externalauth-2798323-1
4
.patch
→
patches/modules/externalauth/optional_prefix-externalauth-2798323-1
7
.patch
View file @
d8efd2a9
...
...
@@ -32,9 +32,29 @@ index c02e013..47d5e30 100644
+ $config->set('prefix', 1);
+ $config->save();
+}
diff --git a/externalauth.links.menu.yml b/externalauth.links.menu.yml
new file mode 100644
index 0000000..dd8eb9e
--- /dev/null
+++ b/externalauth.links.menu.yml
@@ -0,0 +1,6 @@
+externalauth.settings:
+ title: 'External Authentication'
+ parent: user.admin_index
+ description: 'Configure external authentication behaviors'
+ weight: -10
+ route_name: externalauth.settings
diff --git a/externalauth.permissions.yml b/externalauth.permissions.yml
new file mode 100644
index 0000000..e792ca2
--- /dev/null
+++ b/externalauth.permissions.yml
@@ -0,0 +1,2 @@
+configure externalauth:
+ title: "Configure ExternalAuth settings"
diff --git a/externalauth.routing.yml b/externalauth.routing.yml
new file mode 100644
index 0000000..
7db1024
index 0000000..
5e446da
--- /dev/null
+++ b/externalauth.routing.yml
@@ -0,0 +1,7 @@
...
...
@@ -44,7 +64,7 @@ index 0000000..7db1024
+ _form: '\Drupal\externalauth\Form\ExternalAuthSettingsForm'
+ _title: 'External Auth configuration screen'
+ requirements:
+ _permission: '
administer site configuration
'
+ _permission: '
configure externalauth
'
diff --git a/src/ExternalAuth.php b/src/ExternalAuth.php
index 2811d48..54e56fd 100644
--- a/src/ExternalAuth.php
...
...
Write
Preview
Supports
Markdown
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