Problem/Motivation

Remove deprecated "use text format text_only_html" permissions.

As of Drupal 10, we can no longer have invalid permissions in the database (https://www.drupal.org/node/3193348). Permissions that no longer exist are removed.

Steps to reproduce

Deprecated permissions:
- use text format text_only_html

- Install Drupal with upgrade_status module enabled
- Go to admin/reports/upgrade-status and check for "Invalid permissions will trigger runtime exceptions in Drupal 10. Permissions should be defined in a permissions.yml file or a permission callback."

Proposed resolution

Remove deprecated "use text format text_only_html" permissions.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

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

zanvidmar created an issue. See original summary.

zanvidmar’s picture

Status: Active » Needs review
v.koval’s picture

Status: Needs review » Reviewed & tested by the community
v.koval’s picture

@zanvidmar thanks!
I reviewed and tested it, and now it looks good!
Approved

zanvidmar’s picture

  • 35c4989f committed on 5.1.x
    Issue #3396507: Remove unneeded "use text format text_only_html"...
zanvidmar’s picture

Status: Reviewed & tested by the community » Fixed

The fix has landed in 5.1.2

zanvidmar’s picture

zanvidmar’s picture

Version: 5.1.1 » 5.1.2

Status: Fixed » Closed (fixed)

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