Contact us

Contributions 1 min read

Elements expand icon issue with user permissions

We're always keen on solving visual bugs that may confuse some users and developers. This is one of those. Read more about how we solved this one and where did the idea for this pull request

What was the issue?

When you define workspaces for child elements and if child elements exist and the user doesn’t have permission to see them, he will still see + icon next to parent element as if there were some child objects.

How did you solve it?

The way Pimcore checks if the parent element has children was adjusted a little bit.

Why is this fix important?

This was just a visual bug that was confusing admin users so now it won’t happen anymore.

How would you describe your current collaboration with the Pimcore community and Pimcore employees?

Pimcore community is awesome and you can always learn something new from the community members and especially from Pimcore employees.

And if you want to check out this pull request, just follow the link!