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 role permission issue #12

Open
zeel1012 opened this issue Oct 25, 2023 · 0 comments
Open

ACL role permission issue #12

zeel1012 opened this issue Oct 25, 2023 · 0 comments

Comments

@zeel1012
Copy link

Environment

Module Version: 2.0.0 (icecat/magento2-extension).
Magento Version: 2.4.6-p2.

Issue Description:
We can’t able to give permission to access module configuration settings for other roles

Screenshots
Here, you can see in screenshot 1 that the administrator has access to Icecate module configuration settings.
image

Here, you can see in screenshot 2 that, there is no resource available to give permission for this module configuration settings.
image

Steps to Reproduce(In Default Magento):
1. Get the Magento clean shop
2. Install the Icecat_DataFeed module 2.0.0.
3. Go to the “Admin->System->User Roles” and Add New Role.
4. Go to Admin->System->User Roles->Role resources
5. Observe.

Expected Behavior:
Administrator should give permission to module configuration for other roles and module configuration should be visible for another role user as well.

Actual Behavior
Not available resources for module configuration on role resource. And not visible module configuration settings in other roles except the administrator.

Additional information:
Reason
In this module, there is no implemented ACL(Access Control List) for module configuration, that's why it is not showing in the role resource and the administrator can’t able to give permission to other roles. So, we need to create an ACL file for this module(i.e etc/acl.xml ).

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

1 participant