Revisions tab shows up when the anonymous user accesses the Webforms

Created on 22 December 2022, almost 2 years ago
Updated 12 January 2024, 10 months ago

Problem/Motivation

Revisions tab is shown up when the anonymous user accesses the Webforms. The anonymous user should not see the "Revisions" and "View" Tabs.

Steps to reproduce

Drupal Environment:
Drupal Core 9.4.7
PHP 8.0

1) Installed and enabled the Config Revision (1.0.0-alpha3).
2) Applied Config Revision patch (#2350939-202) or (2350939-254): Implement a generic revision UI.
3) Enable "Webform" in Config Revision Settings (/admin/config/development/config-revision)
4) Installed and enabled Webform Revision UI module

As a result, Revisions and View Tabs are shown up when the anonymous user accesses the Webforms.

I have temporarily used CSS to hide the tabs from the anonymous user.

body.anonymous.path-webform ul.tabs--primary.nav.nav-tabs {
display: none;
}

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇦Canada jamesyao

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024