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

[Backport 2.1-develop] Remove hardcoding for Magento_Backend::admin in ACL tree #11739

Merged
merged 1 commit into from
Nov 9, 2017
Merged

Conversation

navarr
Copy link
Member

@navarr navarr commented Oct 25, 2017

This backports a removal of the hardcoding the array index of
Magento_Backend::admin in the resources ACL tree

Original commit 66d1960

@navarr
Copy link
Member Author

navarr commented Oct 25, 2017

cc @paliarush who was assigned to the original ticket

@navarr navarr changed the title Backport #4396 to Magento 2.1 [Backport 2.1-develop] Remove hardcoding for Magento_Backend::admin in ACL tree Oct 25, 2017
This backports a removal of the hardcoding the array index of
Magento_Backend::admin in the resources ACL tree

Original commit 66d1960
@dmanners
Copy link
Contributor

@navarr thanks for this PR. Is there a set of testing steps someplace for this fix?

@dmanners dmanners self-assigned this Oct 31, 2017
@navarr
Copy link
Member Author

navarr commented Oct 31, 2017

Not straightforward but yes. If you create a module that has an ACL tree starting with Magento_Adminhtml (instead of Magento_Backend), then edit or create a role - the tree will be empty.

After this patch, the tree will appear. I had the original PR in the title but changed the title - that would be #4396

@dmanners
Copy link
Contributor

Thanks @navarr will try to process this for you.

@dmanners dmanners added this to the October 2017 milestone Oct 31, 2017
@okorshenko okorshenko modified the milestones: October 2017, November 2017 Nov 1, 2017
@okorshenko okorshenko merged commit c766c66 into magento:2.1-develop Nov 9, 2017
okorshenko pushed a commit that referenced this pull request Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants