Problem/Motivation
Requested by Razem
After #3163292: Have revisionable media entities in Varbase by default
No UI way to view changes or revert them

Steps to reproduce
Given that we had enabled the "Create new revision" for the Image media type
Automatically create new revisions. Users with the "Administer media" permission will be able to override this option.

Proposed resolution
Add and enable the Media Revisions UI module with Varbase Media
https://www.drupal.org/project/media_revisions_ui
Media entities support revisions however there is no interface to handle them.
This module adds "Revisions" tab in the "Edit" section of media which displays a list of revisions and allows viewing, reverting or deleting revisions.
#3165781: Add permissions for [Media Revisions UI] module
Permissions for media revisions UI

Remaining tasks
User interface changes
Have a UI tab when we edit media

Comments
Comment #2
rajab natshahComment #3
rajab natshahComment #4
rajab natshahComment #6
rajab natshahComment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshahComment #10
rajab natshahComment #11
rajab natshahThe following is in core
Permission
Route
But it can view any revision id in the URL for a selected media id.
It may show data for other media items or types too
Comment #12
mohammed j. razemWe will still need the module Media Revision UI so it can provide the UI to revert, and see the history of revisions.
As for the perms:
- Delete is not given to any role
- View is given to Editor upwards
- Revert is given to Content admin and Site admin only
This is similar to the content revisions.
Comment #13
rajab natshahComment #14
rajab natshahComment #15
rajab natshahComment #17
rajab natshahComment #18
rajab natshahComment #20
rajab natshahNeeds to add the list of permissions in Varbase profile
Comment #21
rajab natshahComment #22
rajab natshahComment #23
rajab natshahComment #24
rajab natshah#3165781: Add permissions for [Media Revisions UI] module
Comment #25
rajab natshahComment #26
rajab natshahComment #27
rajab natshahComment #28
rajab natshah