Commit d8efd2a9 authored by Tyler Struyk's avatar Tyler Struyk
Browse files

updated externauth patch from comment 14 to 17

parent 4c5d13f1
......@@ -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-14.patch"
"ISTWCMS-2267: Remove provider prefix to username (samlauth_)": "patches/modules/externalauth/optional_prefix-externalauth-2798323-17.patch"
}
}
}
......
......@@ -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
......
Supports Markdown
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