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

User rights for localized fields #3686

Open
incoxx opened this Issue Dec 3, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@incoxx

incoxx commented Dec 3, 2018

Bug Report

Expected behavior

I have a user role for a product manager in Poland. He should be able to see German an English localized texts and he will have the right to edit texts only in Polish language (all other languages are read only)

Actual behavior

I created a new role "product manager PL" and in the "Shared translation settings":
View Geman an Engish.
View and edit Polish

Result in the object edtior: The role is able to edit ALL languages without restriction.

Steps to reproduce

I created a role "test" and a user "test" on the pimcore basic testsystem.
The role "test" has the right to view "English and German" and right to edit "German"
If you open an object with localized data (e.g. the News object) you are able to edit both languages

@ckemptner

This comment has been minimized.

Contributor

ckemptner commented Dec 3, 2018

I think you are mistaking "shared translations" settings (which are mainly used for documents / CMS pages) with the "localized fields" settings for data objects. If you want to restrict languages for editors on data objects you don't have to use "shared translations" but rather the "localized fields" settings directly in the "workspaces" tab, where you also define the access rights.

@incoxx

This comment has been minimized.

incoxx commented Dec 4, 2018

Hi Christian,
you are right!!!
Now i made the settings within the workspaces tab:
image
But the behaviour is the same. For the object path /PIM/Produkte i gave the access right "Bearbeiten" for the Polish language.
But when i login with a user and the assigned role - same result. I am able to edit all other languages

@incoxx

This comment has been minimized.

incoxx commented Dec 4, 2018

PS: PIMCORE Version is 5.5.3

@ckemptner

This comment has been minimized.

Contributor

ckemptner commented Dec 4, 2018

"Roles" override "Users" => Check your "Roles" Settings (Workspaces Tab again)
=> You can only give users additional rights which extend the rights set for the role, but not restrict rights given on a role level on the user level
Next time please use our community forums https://talk.pimcore.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment