Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [acl]

Questions about using the access control list (ACL) to manage admin user roles and permissions

0
votes
1answer
25 views

My extension links not showing on custom roles on admin

I have created a custom module. When I have created a demo user and select custom roles for that. My module not showing on the admin side. When I select all the rights it's showing but when I select ...
0
votes
1answer
37 views

Magento 2.2.3- ACL Permissions not Working for Customer module

I have created a user and provide a new created role customer which have access to customer module only . When we logged in with that particular user , we are able to see the customer list but when ...
2
votes
0answers
22 views

ACL for custom config group - section disppeared?

I'v tried to add a new section to Store -> Config -> Catalog Section -> Catalog with custom ACL settings. I changed (default) adminrole permissions from "All" to "Custom" and left only the ...
0
votes
0answers
50 views

Get store id of the current user logged in admin

How can i get store id of the current user logged in admin in magento? I want to restrict custom module data by the type of user logged in admin area. I followed below link http://www.pixelpaul.net/...
2
votes
0answers
19 views

Api acl check permission not working for guest user

Hi I have added api acl for guest user vy adding tag <privileges> <admin> <create>1</create> <retrieve>1</retrieve> <update>1</...
3
votes
1answer
31 views

issue while adding recipie

I have created a user . I give a user role and give resources to add recipies . it is working for admin user . but it is not working for non admins . screenshots will help you understand my question. ...
0
votes
0answers
7 views

Magento2 ACL Permission Groupwise

Can anyone have idea how to make ACL permission Groupwise? default magento provides ACL sectionwise in system.xml but is that possible to do with group? suppose i have 2 groups in one section in ...
2
votes
1answer
27 views

Cusotm module edit action redirects it to the dashborard

I created Grid using UI Components and provide Edit action using < actionsColumn > in vendormodulename_entity_list.xml <actionsColumn name="actions" class="Vendor\Modulename\Ui\Component\...
0
votes
0answers
105 views

product attribute limit by ACL Magento2

I have number of custom of product attributes in my store and I want to limit this attribute access to only few users. so how can do this(in backend)? is it possible by ACL? I read about ...
2
votes
1answer
21 views

ACL doesn't work

I tried to add new checkbox into System -> Permissions -> Roles. I added this xml at the adminxml.xml, but it is doesn't work. Where is my fault ? I want to block Catalog -> Product/...
2
votes
2answers
41 views

Magento 2.1.9 - Custom Module tab not showing

I have followed different posts in order to get the solution and the tab working, but It doesn't show up. I have followed this ones: Custom admin configuration tab not showing Magento CE 2.1 ...
0
votes
0answers
24 views

Magento 2 acl.xml hides an entire tab

I have a tab setted in system.xml for our own modules cofigurations, and all our modules uses that tab. On our firsts modules, we don't use acl configurations,but now we have to, so for this ...
0
votes
0answers
13 views

Magento 2 : Is it possible to define resource for other than menu items and web APIs for Access Control list?

I know you can define resource and manage web APIs and admin menu items by defining resources and Access Control List. But is it possible to control other things such as product attributes through ...
3
votes
1answer
174 views

Give custom module's access to all in Magento 1.9

I have created a custom module for backend in Magento 1.9. This module is applicable to all users and roles. <menu> <videos module="videos"> <title>Video Tutorials</...
0
votes
0answers
62 views

How to assign ACL to UI component Form in magento 2?

I need to assign acl to Ui Component Form? Anyone know about it?
0
votes
0answers
61 views

Magento 2.2, Display form component field depend on ACL?

I need to display component field depend on ACL in Magento 2.2.
2
votes
1answer
59 views

How to put ACL on customer grid's export to CSV, based on roles?

Trying to put ACL on customer Grid's export to CSV functionality based on user role. Add following fode in my module's adminhtml.xml file acl section <config> <acl> <...
0
votes
0answers
132 views

Custom module allows permission only for full admin in Magento 1.9

I have created a custom module in Magento 1.9 and I want to access that module only if I'm logged in on a full admin account, but I want this to be default. If I'm logged in with another role, I don't ...
1
vote
0answers
44 views

Admin User unable to access webapi

currently developing web application that utilizes magento's customer / admin tokens (magento 2). I am trying to access my custom webapi with resource assigned as "self" using an admin user with a ...
0
votes
1answer
204 views

Magento 2 ACL rule move from one db to another

I have two environment of my website using Magento 2.2.1 One is dev and another is staging. I have created ACL Roles and assign them to users. Now i want to copy these ACL Roles to staging ...
1
vote
1answer
353 views

Could not create an acl object: Role '9' - how to resolve this?

Something like this happend when I'm trying to login to backend: {"0":"Could not create an acl object: Role '9' not found","1":"#0 /var/www/html/MAGENTO_HELPA/generated/code/Magento/Framework/...
0
votes
0answers
56 views

Menu ACL for menus with the same grid but different filter

I created two menus, almost the same. The little difference are the filters in the grid. menu.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
0answers
219 views

Magento 2: Hide action button by ACL rule in XML definition (ui component)

I have added action button to the customer form (vendor/module/view/adminhtml/ui_component/customer_form.xml): <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
162 views

Magento 2, ACL fields

In Magento 2 ui_compoments were introduced to describe grids and forms. However I would like to know which class of magento converts for example the file: vendor/magento/module-customer/view/base/...
1
vote
1answer
597 views

How to add admin user role programatically?

I need to add user role and set that user to edit/add/view only specific products on admin page.
0
votes
2answers
461 views

Could not create an acl object: Invalid XML in file

Hello I've this custom module for Magento when loggin in to Magento Admin I am getting this error Error Message I am getting 1 exception(s): Exception #0 (LogicException): Could not create an acl ...
0
votes
1answer
63 views

Magento 2.1: Only admin can upload images to visual swatch

Administrators can upload images to visual swatches but users with limited access can't. I'm trying to find the resource to give this user role access to it but can't seem to figure out which one it ...
0
votes
3answers
638 views

admin area: Restrict access to a particular page

I want to hide or restrict access to a particular page from admin users. That means if an admin user tried to reach a page (e.g. System > Tools > Compilation ) he/she would see a 404 not found ...
1
vote
1answer
39 views

Adding custom permission to a role does not save

So I'm trying to write an ACL.XML file for a simple extension that we have that allows certain people to run a manual indexer. However, all the documentation I can find says I should use: <acl>...
0
votes
1answer
246 views

settings not showing in Magento admin

I am trying to create a custom module in admin but for some reason modules settings are not appearing. Below is my code. app/code/Anshu/TrackingImport/etc/adminhtml/system.xml <?xml version="1.0"...
0
votes
1answer
815 views

On log in to Magento 2.1 admin I get (LogicException): Could not create an acl object

On login to Magento 2.1 admin I get following error . 1 exception(s): Exception #0 (LogicException): Could not create an acl object: Invalid Document Element 'admin': This element is not ...
5
votes
1answer
1k views

Magento 2 : User Role and Permission Issue (ACL Issue)

In my magento2, I have created one user role with custom permission in which I give permission only for "Shipping Methods" to user. When I login with this user, it also show me other custom extension ...
1
vote
0answers
163 views

magento2 webapi authorization for admin users

In Magento 2.1.5 I cannot use webapi when I am logged in as admin user. I found this problem on my regular install and verified with a freh one: install magento 2.1.5 from composer repository log-in ...
3
votes
1answer
86 views

ACL issue in Magento 1

I have this ACL in my module: <acl> <resources> <admin> <children> <report> <children> ...
3
votes
1answer
295 views

How to translate title attribute in acl.xml

I have this code in acl.xml: <resource id="Magento_Paypal::use" title="Place Order Using Billing Agreements" translate="title" sortOrder="15" /> and I already added this string in ar_SA.csv ...
1
vote
1answer
656 views

Magento 2.1- ACL Permissions not Working

I have created a user and given all the required roles to access the module. When we logged in with that particular user , we are able to see the module and module items but when we click on any item ...
0
votes
1answer
298 views

Magento 2: ACL Permission Call Manually for Logged In Admin

Magento 2: ACL Permission for Admin Module In magento\app\code\Custom\Module\Controller\Adminhtml\Posts\Index.php namespace Custom\Module\Controller\Adminhtml\Posts; use Magento\Framework\View\...
2
votes
1answer
3k views

Magento 2: ACL Permission for Admin Module [duplicate]

I have multiple Admin User Roles with Users. For my Custom Module it's not giving "Access denied" for non - authorized Admin. I have followed https://www.mageplaza.com/magento-2-module-development/...
1
vote
1answer
166 views

Magento 2 Custom Module Not Accessible In Other Users

I have simple grid listing custom module in magento 2 admin, but I can not access it in other users then default admin, Here are my files acl.xml <?xml version="1.0"?> <config xmlns:xsi="...
1
vote
2answers
277 views

Magento Custom Menu Admin not visible for User but visible for Administrators

I have a module that updates the amin menu by inserting a submenu called "Relatórios Personalizados" in the reports menu. I set the role permissions for the user named "Luciano", however the menu is ...
1
vote
2answers
746 views

User with custom role cannot access custom menu item in Magento 2 admin interface

I want to give permission to admin user for a custom module, before creating a acl.xml the module name was not coming in list, after acl.xml its coming but admin user is not able to see in his menu. ...
1
vote
2answers
509 views

Access denied for a new role- is allowed function in the controller

we have mageworx files download which can be accessed by only adminstrator role and when we create new roles and assign the resource to the role it does not work, the problem is that the _isAllowed ...
1
vote
0answers
64 views

Adminhtml ACL only in effect after removing given permission

I wonder if this is a bug or a problem at my side, when accessing the adminhtml page, with a user whose user role does not have the required permissions to access the page, it is possible to access ...
2
votes
1answer
311 views

set acl permission for tabs in sales order view

I need to set ACL permission for the tabs under sales order view How can I do that?
1
vote
2answers
2k views

Acl problem in my custom module (Access denied)

I created a custom module and i placed the list of subscribers under catalog and configuration under system tab and i added acl for this but the tab subscribers under catalog is not accessible but the ...
0
votes
1answer
64 views

Access denied issue on form builder?

I have used config.xml for permission allow to user. Here are my code. But i am getting error access denied for new user. Please suggest me where is i am wrong. <adminhtml> <menu> ...
2
votes
1answer
4k views

Custom module role permission. How to add acl

I need to be able to control my custom module's role permission and I can see I have to add acl in my XML. I have tried to add it in config.xml and also made an adminhtml.xml in the same location. ...
2
votes
2answers
706 views

Why ACL is not working for new Action

I have create a custom admin action for a custom admin controller and have allow to this action for acl. But till now, ACL is not working Controller: <?php class ...
2
votes
2answers
84 views

Restrict Access to Magento Website

I have set up a second website under the same magento installation which will be used as a pos for a physical store. I want to however restrict access to the website as it is not formatted for public ...
5
votes
3answers
2k views

Magento 2.1.0 Roles Resource Tree not showing

in the backend, going to system->roles, adding a new role and setting it to custom permissions, the resource tree is empty. Stepping through the code I can see, in module_user/Block/Role/Tab/Edit.php ...