Only show translate button if user has permission to translate content

Created on 13 October 2020, about 4 years ago
Updated 10 September 2024, 2 months ago

Problem/Motivation

If a user does not have the translate content permission, she/he should not see the translate button in the moderation_sidebar. Atm this results in a UX wtf, see below.

Steps to reproduce

  • Allow translation for a content type, remove permissions for a certain role to translate that content type
  • Open moderation sidebar for node
  • Click Translate
  • Click View all translations (the only option)
  • User sees 403

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.4

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany anruether Bonn

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