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

ACL error when accessing Store Configuration #64

Closed
adamj88 opened this issue Apr 14, 2017 · 1 comment
Closed

ACL error when accessing Store Configuration #64

adamj88 opened this issue Apr 14, 2017 · 1 comment
Assignees
Milestone

Comments

@adamj88
Copy link
Contributor

adamj88 commented Apr 14, 2017

@websharp we're seeing an error in developer mode on Magento CE 2.1.6 (not sure if this is present on earlier versions).

When trying to access a Store's configuration in the admin side the following error is getting thrown:

Invalid XML in file {...}/bitexpert/magento2-force-customer-login/etc/adminhtml/system.xml:
Element 'resource': [facet 'pattern'] The value 'bitExpert::ForceCustomerLogin' is not accepted by the pattern '([A-Z]+[a-zA-Z0-9]{1,}){1,}_[A-Z]+[A-Z0-9a-z]{1,}::[A-Za-z_0-9]{1,}'. Line: 11
Element 'resource': 'bitExpert::ForceCustomerLogin' is not a valid value of the atomic type 'typeAclResourceId'. Line: 11

The regex for resources expects the module's vendor name to begin with an uppercase letter, using bitExpert causes it to throw the above error.

@chedaroo has submitted a PR for this here: #63

@der-workfloh der-workfloh self-assigned this Apr 14, 2017
@der-workfloh der-workfloh added this to the 2.0 milestone Apr 14, 2017
@der-workfloh
Copy link
Contributor

der-workfloh commented Apr 14, 2017

Hi @adamj88,

thank you for the report, the PR is merged to the master branch.

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

2 participants