Skip to content

[BUG] Permission Denied exception when adding a page in a different language #7826

@jrief

Description

@jrief

Description

A Permission Denied exception is raised, if a non-superuser attempts to add a page in a different language.

Steps to reproduce

  • Site must be configured to be multi-lingual.
  • Log in as a user with permission to add a page.
  • That user shall navigate to a page where he page where he has edit permissions.
  • In the CMS toolbar, navigate to Language and then to "Add translation…"
  • Choose any alternative language.

This raises a Permission Denied exception.

Do you want to help fix this issue?

  • Yes, I want to help fix this issue and I will join #workgroup-pr-review on Slack to confirm with the community that a PR is welcome.
  • No, I only want to report the issue.

I already found the reason for this and prepared a patch. This error however seems to be a legacy from CMS3 and presumably more cleanup work is required.

This patch fixes the problem in a very hacky way:
jrief@4a47b6b

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions