Problem/Motivation

In #3417136: Remove adding an extension via a URL and #3502973: Remove UI and routes for the ability to update modules and themes via update.module and authorize.php we remove all the functionality that the allow_authorize_operations "killswitch" setting turned off. In #3521059: Finish deprecating 'Update Manager' related code in Update Status we remove it from default.settings.php. But we don't want to start triggering errors for sites that have already opt'ed out. Let's start bothering folks about that in D12 once we're absolutely sure there's no longer any possible code path that the setting would prevent.

Steps to reproduce

Proposed resolution

Use https://www.drupal.org/about/core/policies/core-change-policies/how-to-d...
Add allow_authorize_operations to $deprecatedSettings in core/lib/Drupal/Core/Site/Settings.php with '' as the replacement.

See https://git.drupalcode.org/project/drupal/-/merge_requests/11936/diffs?c...

Remaining tasks

Wait for #3502975: Remove all legacy code related to authorize.php and FileTransfer to land.

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3522327

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dww created an issue. See original summary.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

dww’s picture

MR is now ready, just waiting for the blocker issue (with its ~5000 lines removed diffstat!) to land.

dww’s picture

Title: [pp-1] [12.x] Deprecate the 'allow_authorize_operations' setting » Deprecate the 'allow_authorize_operations' setting
Status: Postponed » Needs review

Blocker is in. Rebased to latest main.

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs Review Queue Initiative

Seems like a good deprecation. Not sure this needs any deprecation coverage

  • longwave committed 914114f3 on main
    task: #3522327 Deprecate the 'allow_authorize_operations' setting
    
    By:...
longwave’s picture

Status: Reviewed & tested by the community » Fixed

I think this is enough, not worth testing to me.

Committed and pushed 914114f3258 to main. Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.