stape-io / gtm-server-side-magento-module

Stape GTM Server Side Magento Module
https://stape.io/apps
GNU General Public License v3.0
4 stars 3 forks source link

ACL role permission issue #17

Closed Bansiravaliya7 closed 3 months ago

Bansiravaliya7 commented 3 months ago

Environment Module Version: 1.0.15 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 Stape module configuration settings. stape

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

Steps to Reproduce(In Default Magento)

  1. Get the Magento clean shop
  2. Install the Stape_Gtm module 1.0.15.
  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 which user has all permission.

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 ).

Bukashk0zzz commented 3 months ago

Thanks. fixed in https://github.com/stape-io/gtm-server-side-magento-module/pull/18