Allow reverting block content with "administer block content" permission

Created on 14 June 2023, over 1 year ago
Updated 19 November 2023, about 1 year ago

Problem/Motivation

In \Drupal\block_content\BlockContentAccessControlHandler::checkAccessSimilar to delete revision, revert should also be done if the role has administer block content permission.

Steps to reproduce

NA

Proposed resolution

If user has administer block content permission they should be able to revert.

Remaining tasks


Review

User interface changes

NA

API changes

NA

Data model changes

NA

Release notes snippet

NA

🐛 Bug report
Status

Fixed

Version

10.2

Component
Block content 

Last updated 20 days ago

Created by

🇮🇳India yash.rode pune

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024