From cbf1f47b8f910ed8d33255f948159b438b6b329e Mon Sep 17 00:00:00 2001 From: Bean Labs Date: Mon, 8 Jun 2026 12:54:40 -0400 Subject: [PATCH] docs: document no-account default role --- readme.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index d5140a2..0e8764b 100644 --- a/readme.txt +++ b/readme.txt @@ -156,8 +156,9 @@ Yes, the plugin allows for all settings to be controlled via constants in `wp-co - PHP 7.0 (and above) example: `define('SHIBBOLETH_ROLES', array( 'administrator' => array( 'header' => 'entitlement', 'value' => 'urn:mace:example.edu:entitlement:wordpress:admin' ), 'author' => array( 'header' => 'affiliation', 'value' => 'faculty' ) ) );` - `SHIBBOLETH_DEFAULT_ROLE` - Format: string - - Available options: All available WordPress roles. The defaults are `'administrator'`, `'subscriber'`, `'author'`, `'editor'`, and `'contributor'`. Leave this constant empty `''` to make the default no allowed access. + - Available options: All available WordPress roles. The defaults are `'administrator'`, `'subscriber'`, `'author'`, `'editor'`, and `'contributor'`. Leave this constant empty `''` to make the default no allowed access, or set it to `'_no_account'` to skip account creation when no Shibboleth role mapping applies. - Example: `define('SHIBBOLETH_DEFAULT_ROLE', 'subscriber');` + - Example: `define('SHIBBOLETH_DEFAULT_ROLE', '_no_account');` - `SHIBBOLETH_UPDATE_ROLES` - Format: boolean - Available options: `true` to automatically use Shibboleth data to update user role mappings each time the user logs in or `false` to only update role mappings when a user is initally created.