"Create new revision" is overridable regardless of permissions

Created on 31 August 2023, about 1 year ago
Updated 21 November 2023, about 1 year ago

Problem/Motivation

Node Type form says "Users with sufficient access rights will be able to override these options." and Media Type form says "Users with the "Administer media" permission will be able to override this option.". If I create a user that can edit media and nodes without the administer permissions, the option remains overridable. ๐Ÿค” I'm not sure what would be required to not have "sufficient access rights" for the Node use case, but at least the Media use case is clearly not working the way the UI makes you believe.

Steps to reproduce

  1. Install Standard
  2. Enable Media module
  3. Confirm on /admin/structure/media/manage/image that "Create new revision" is checked
  4. Give the "Content Editor" role following permissions: "Image: Create new media", "Image: Edit any media", "Access media overview", "View all media revisions", "View media", "View own unpublished media"
  5. Log in as a content editor
  6. Go to /media/add/image to create new image media entity
  7. After creating the media entity, confirm that "Create new revision" is visible, can be unchecked, and content can be saved without creating new revision

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ› Bug report
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Entityย  โ†’

Last updated about 4 hours ago

  • Maintained by
  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom @catch
  • ๐Ÿ‡จ๐Ÿ‡ญSwitzerland @berdir
  • ๐Ÿ‡ฉ๐Ÿ‡ชGermany @hchonov
Created by

๐Ÿ‡ซ๐Ÿ‡ฎFinland lauriii Finland

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

Comments & Activities

Production build 0.71.5 2024