-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
Incorrect display acl privileges grid, when exists two admin entity with the same name (in other groups). #1583
Comments
There is already to much attribute IMHO To me the original issue #1582 was the correct one. This is an issue for SonataUserBundle. Maybe something like
would be better. Do you want to work on it @TomaszFilipek ? |
@VincentLanglet thank You for reply. I thought of yet another solution. What do you think about the solution to add the group name to the label? This requires two changes. 1. Add admin group name in return array in /src/Security/RolesBuilder/AdminRolesBuilder.php
2. Change key in array in
Then the ACL grid looks like this: What do you thing about this solution? |
This seems a nice improvement which avoid BC-break. So let's go with this then :) (Be aware our coding standard forbids |
Co-authored-by: Vincent Langlet <[email protected]> Closes #1583
Environment
Sonata packages
show
Symfony packages
show
PHP version
Subject
Incorrect display acl privileges grid, when exists two admin entity with the same name (in other groups).
Steps to reproduce
Create two admin entity with the same name.
For example:
Expected results
Actual results
I think an attribute that allows to change the name displayed in the ACL editor would be a good solution.
The text was updated successfully, but these errors were encountered: