Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Edit Translated Containers (Unnecessary Permission Check) #530

Open
lsztrokay opened this issue Sep 6, 2024 · 0 comments
Open

Comments

@lsztrokay
Copy link

I am encountering a problem with translated containers in a multilingual TYPO3 setup. I have a Base Language (EN) and two translations for the page (DE and CZ). I created a container element in the Base Language and translated it into the other two languages.

When logged in as a Backend User with permissions to edit only EN and CZ (but not DE), I am unable to edit the containers for EN or CZ. Upon debugging, I discovered that the function recordEditAccessInternals in BackendUserAuthentication.php is being executed three times—once for each language (EN, CZ, and DE).

The issue arises when trying to edit the CZ container. The system should not check the DE permissions when DE is not part of the user's allowed languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant