From c539023cfd4ee0752dff9394887cd754c566198a Mon Sep 17 00:00:00 2001 From: pete-cleary <152926057+pete-cleary@users.noreply.github.com> Date: Tue, 23 Jan 2024 09:11:51 -0800 Subject: [PATCH 1/5] Update modules-known-issues.md There are no more known issues for the module: "Simple OAuth / OAuth 2.0 Issue: The module requires a very specific set of permissions for the folder and the keys to be uploaded. Using Private or non-standard filepaths won't work. It is not possible to change these in LIVE or TEST environment. Solution: You can try to patch the permission check in the module. The alternative is to use off-site key management tools like Lockr" The module now works without a workaround. --- source/content/modules-known-issues.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/source/content/modules-known-issues.md b/source/content/modules-known-issues.md index c679e85146..e217968d8e 100644 --- a/source/content/modules-known-issues.md +++ b/source/content/modules-known-issues.md @@ -391,14 +391,6 @@ ___ 1. Define a new class that inherits from the `PantheonApachesolrSearchApiSolrService` and contains logic from the `SearchApiSolrDateSortSolrService` (or vice a versa). Refer to the [module source code](https://git.drupalcode.org/project/search_api_solr_date_sort/-/blob/7.x-1.x/includes/service.inc) for examples. 1. Implement the `hook_search_api_service_info_alter()` function in your custom module's `.module` file and add your class into a configuration array. Refer to the [developer documentation](https://www.drupal.org/node/1999396) for details. Ensure that your [module's weight](https://www.drupal.org/docs/7/creating-custom-modules/howtos/how-to-update-a-modules-weight) is gereater than that of `search_api_solr_date` and `pantheon_apachesolr`. - -___ - -## [Simple OAuth / OAuth 2.0](https://www.drupal.org/project/simple_oauth) - -**Issue**: The module requires a very specific set of permissions for the folder and the keys to be uploaded. Using Private or non-standard filepaths won't work. It is not possible to change these in LIVE or TEST environment. - -**Solution**: You can try to patch the [permission check in the module](https://github.com/thephpleague/oauth2-server/blob/e184691ded987c00966e341ac09c46ceeae0b27f/src/CryptKey.php#L51). The alternative is to use off-site key management tools like [Lockr](https://www.drupal.org/project/lockr) ___ ## [Update Manager](https://www.drupal.org/docs/8/core/modules/update-manager) - Drupal 9 (core) From ac53ce93779beeb0f5303edd97c98a60e5e18a04 Mon Sep 17 00:00:00 2001 From: Rachel Whitton Date: Wed, 12 Jun 2024 11:51:15 -0500 Subject: [PATCH 2/5] Revert "Update modules-known-issues.md" This reverts commit c539023cfd4ee0752dff9394887cd754c566198a. --- source/content/modules-known-issues.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/content/modules-known-issues.md b/source/content/modules-known-issues.md index e217968d8e..c679e85146 100644 --- a/source/content/modules-known-issues.md +++ b/source/content/modules-known-issues.md @@ -391,6 +391,14 @@ ___ 1. Define a new class that inherits from the `PantheonApachesolrSearchApiSolrService` and contains logic from the `SearchApiSolrDateSortSolrService` (or vice a versa). Refer to the [module source code](https://git.drupalcode.org/project/search_api_solr_date_sort/-/blob/7.x-1.x/includes/service.inc) for examples. 1. Implement the `hook_search_api_service_info_alter()` function in your custom module's `.module` file and add your class into a configuration array. Refer to the [developer documentation](https://www.drupal.org/node/1999396) for details. Ensure that your [module's weight](https://www.drupal.org/docs/7/creating-custom-modules/howtos/how-to-update-a-modules-weight) is gereater than that of `search_api_solr_date` and `pantheon_apachesolr`. + +___ + +## [Simple OAuth / OAuth 2.0](https://www.drupal.org/project/simple_oauth) + +**Issue**: The module requires a very specific set of permissions for the folder and the keys to be uploaded. Using Private or non-standard filepaths won't work. It is not possible to change these in LIVE or TEST environment. + +**Solution**: You can try to patch the [permission check in the module](https://github.com/thephpleague/oauth2-server/blob/e184691ded987c00966e341ac09c46ceeae0b27f/src/CryptKey.php#L51). The alternative is to use off-site key management tools like [Lockr](https://www.drupal.org/project/lockr) ___ ## [Update Manager](https://www.drupal.org/docs/8/core/modules/update-manager) - Drupal 9 (core) From 7112b67bdefabf10ada208787f09dc4cf8982899 Mon Sep 17 00:00:00 2001 From: Rachel Whitton Date: Wed, 12 Jun 2024 12:04:26 -0500 Subject: [PATCH 3/5] Add known solution for OAuth permissions issue --- source/content/modules-known-issues.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/content/modules-known-issues.md b/source/content/modules-known-issues.md index c679e85146..3f3e232b88 100644 --- a/source/content/modules-known-issues.md +++ b/source/content/modules-known-issues.md @@ -395,10 +395,14 @@ ___ ___ ## [Simple OAuth / OAuth 2.0](https://www.drupal.org/project/simple_oauth) + -**Issue**: The module requires a very specific set of permissions for the folder and the keys to be uploaded. Using Private or non-standard filepaths won't work. It is not possible to change these in LIVE or TEST environment. +**Issue**: This module requires a very specific set of permissions for the folder and the keys to be uploaded. + +**Solution**: Apply the following patches (which have been tested and validated by Pantheon), based on your site's PHP version, to solve for this issue: +* [Oauth Permission Patch - Required to resolve Pantheon known issues (PHP 8.0+)](https://patch-diff.githubusercontent.com/raw/lcatlett/oauth2-server/pull/1.patch) +* [Oauth Permission Patch - Required to resolve Pantheon known issues (PHP 7.4)](https://patch-diff.githubusercontent.com/raw/lcatlett/oauth2-server/pull/2.patch) -**Solution**: You can try to patch the [permission check in the module](https://github.com/thephpleague/oauth2-server/blob/e184691ded987c00966e341ac09c46ceeae0b27f/src/CryptKey.php#L51). The alternative is to use off-site key management tools like [Lockr](https://www.drupal.org/project/lockr) ___ ## [Update Manager](https://www.drupal.org/docs/8/core/modules/update-manager) - Drupal 9 (core) From 2952bff62e3cec87c7bed32bd3b6f4a2641482af Mon Sep 17 00:00:00 2001 From: Rachel Date: Thu, 11 Jul 2024 16:17:33 -0500 Subject: [PATCH 4/5] Update source/content/modules-known-issues.md Co-authored-by: Steve Persch --- source/content/modules-known-issues.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/content/modules-known-issues.md b/source/content/modules-known-issues.md index 3f3e232b88..6595903be7 100644 --- a/source/content/modules-known-issues.md +++ b/source/content/modules-known-issues.md @@ -400,7 +400,7 @@ ___ **Issue**: This module requires a very specific set of permissions for the folder and the keys to be uploaded. **Solution**: Apply the following patches (which have been tested and validated by Pantheon), based on your site's PHP version, to solve for this issue: -* [Oauth Permission Patch - Required to resolve Pantheon known issues (PHP 8.0+)](https://patch-diff.githubusercontent.com/raw/lcatlett/oauth2-server/pull/1.patch) +* [Oauth Permission Patch - Required to resolve Pantheon known issues (PHP 8.0+)](https://patch-diff.githubusercontent.com/raw/pantheon-systems/oauth2-server/pull/1.patch) * [Oauth Permission Patch - Required to resolve Pantheon known issues (PHP 7.4)](https://patch-diff.githubusercontent.com/raw/lcatlett/oauth2-server/pull/2.patch) ___ From d8cf0eecbb448b26ad043971cfc740b99ec3c30f Mon Sep 17 00:00:00 2001 From: Rachel Date: Fri, 12 Jul 2024 11:25:53 -0500 Subject: [PATCH 5/5] Update source/content/modules-known-issues.md Co-authored-by: Steve Persch --- source/content/modules-known-issues.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/content/modules-known-issues.md b/source/content/modules-known-issues.md index 6595903be7..8e4c05d090 100644 --- a/source/content/modules-known-issues.md +++ b/source/content/modules-known-issues.md @@ -401,7 +401,7 @@ ___ **Solution**: Apply the following patches (which have been tested and validated by Pantheon), based on your site's PHP version, to solve for this issue: * [Oauth Permission Patch - Required to resolve Pantheon known issues (PHP 8.0+)](https://patch-diff.githubusercontent.com/raw/pantheon-systems/oauth2-server/pull/1.patch) -* [Oauth Permission Patch - Required to resolve Pantheon known issues (PHP 7.4)](https://patch-diff.githubusercontent.com/raw/lcatlett/oauth2-server/pull/2.patch) +* [Oauth Permission Patch - Required to resolve Pantheon known issues (PHP 7.4)](https://patch-diff.githubusercontent.com/raw/pantheon-systems/oauth2-server/pull/2.patch) ___