Questions tagged [user-roles]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Restrict customer edit access for different admins in magento 2.4.6?

I have magento2 with different admins. I don't want my admins to edit any customer details. They should only view. My different admin can place an order by clicking on "Login as Customer" ...
Mehreen's user avatar
  • 11
1 vote
0 answers
65 views

Magento 2 admin user role issue

I have Magento multi site setup, I have created a admin user role for a website and provided below config: Role Scope: Selected only a website Resource Acess: All And assigned a user to that role. ...
Rahul pandey's user avatar
1 vote
1 answer
71 views

Save products in restricted user roles

I am using Magento 2.4.5, where i have created user roles with access to catalog, marketing and sales. But those users are not able to save Products. When they try adding new product or editing ...
Ahmed Osama Jafri's user avatar
0 votes
1 answer
187 views

How to use Grahql API with ACL resouce as Rest API?

We have a issue and want to limit permission each roles. Do we have any way to make Graphql can set permission roles as Rest API? EX: Admin token with roles "sales", they only access Graphql ...
the light's user avatar
  • 708
0 votes
2 answers
158 views

Admin User Permissions Changed By Accident

I accidentally changed Administrator User permissions in admin. Only Store Tab is accessible. Can't Access any other tab.
Jasvir Singh's user avatar
0 votes
1 answer
39 views

Nothing happen when I click Role Resources and Role Users

When I click Role Resources and Role Users on System - User Roles, nothing happens (no error message. I can edit data on Role Info)
Yohan's user avatar
  • 1,610
1 vote
0 answers
44 views

How do I remove `div` in Admin area according to User Role?

I am new in Magento, Please assist on how to remove a <div /> in a .phtml file according to User Role.
Alok Tiwari's user avatar
1 vote
1 answer
712 views

How do I create role for read only permission of product in magento 2 admin

I want to create an admin user whose access is only to read the products in Magento 2. I checked but was only able to give the user access together with Edit and Delete action which I don't want to ...
Mohd Farhan Bin Ramli's user avatar
1 vote
1 answer
59 views

Magento2 Ui Form: image preview is not working for store specific Role user

Preview image is getting properly on Ui Edit form with other fields data when it was accessed by Administrator Role user. But when its comes to Other Role users which has limited access (i.e. Access ...
Nilesh Tighare's user avatar
0 votes
1 answer
255 views

Can we define User roles to view specific customer groups?

I want to restrict the User Roles with respect to Customer Grouping For instance, User A when Logging in to the back end is only able to view retail customer groups, Whereas User B can access data for ...
Jagrit's user avatar
  • 1
0 votes
1 answer
424 views

How to create a admin user role who can only see the product grid but not authorized to Edit or Add New product

Here I am trying create a role who can only see the product grid but not authorized to Edit or Add New product. But in User roles there only option to select full access to view and edit the products. ...
Praveen Negimani's user avatar
1 vote
0 answers
75 views

Magento 2.4: Company user not able to see the transaction done by Company admin

I'm using Magento 2 Enterprise Edition. Using B2B feature, I have created a Company account and added a Company user for that company. As a Company admin, I can see all the orders placed by company ...
MagentoDev's user avatar
0 votes
1 answer
642 views

How to disable product edit per field based on admin role in Magento 2

I have some differents users that will be use the admin, on this way, I need to create different rules to edit the products. On this way, I´ll create a rule that the user can edit just PRICES and ...
Rannye Rodrigues's user avatar
0 votes
1 answer
220 views

Braintree Virtual Terminal Backend User Role

How can I enable the Braintree Virtual Terminal that is under the Sales tab in the backend? I only see it for a user role that has access to everything. There needs to be an option after Transactions ...
Boston_Stol's user avatar
1 vote
1 answer
102 views

How to disable price block from admin grid if this blocked in ACL

In this question https://magento.stackexchange.com/a/324446/92235, there is an excellent solution related to hiding the price from a specific user group. But this one does not hide the price from the ...
Alice's user avatar
  • 148
2 votes
1 answer
324 views

Restrict user access to viewing prices in the admin panel (acl)

how to implement functionality that will hide product prices from the user group. I've seen such a feature in an entrepreneurial Magento, but I can't figure out how to implement such a functionality.
Alice's user avatar
  • 148
0 votes
1 answer
697 views

Magento 2 disable delete product action from some admin user

Hi i have create a new user role in my magento2 admin panel . in that role i have only given access to catalog . So once that user login to admin panel they can only update product and category ...
Abilash Erikson's user avatar
0 votes
1 answer
1k views

Magento 2: How to set "Maximum Login Failures to Lockout Account" different Role wise?

We have this https://docs.magento.com/user-guide/stores/security-admin.html In the 'Maximum Login Failures to Lockout Account' field, enter the number of times a user can try to log in to the Admin ...
user avatar
1 vote
0 answers
64 views

Change Action from Edit to View for product in magento 2 admin panel

I have different users with different user roles. I want to change the Edit option to View only for the users who have not added this product. see attach image How can I do that? Allowing Edit ...
Nafsss's user avatar
  • 740
0 votes
2 answers
508 views

How to check which admin user has added the products in admin backend magento 2.3.2

I have multi websites site. I have multiple users with different user roles. Is there any way to save and check which admin user has added the product in admin panel backend.
Nafsss's user avatar
  • 740
1 vote
0 answers
51 views

Create new role with specific ACL rights

I want to create a new admin role with some rights. So I use the following code : $role = $this->roleFactory->create(); $role->setName('MyNewRole') ->setPid(0) -&...
Kozame's user avatar
  • 964
1 vote
1 answer
106 views

Magento 1.9 - User Roles Permission return Fatal error

If i click System -> Permission -> Roles if i click any of roles return following error, Fatal error: Class 'Mage_Cmsmquickview_Helper_Data' not found in /home/abc/public_html/app/Mage.php on line ...
zus's user avatar
  • 155
0 votes
0 answers
84 views

Resource tree not showing Magento 2.3.3

I am using Magento version 2.3.3 Resource Tree not showing while assigning custom resource to user. Its giving some JSON syntax error in console as well anyone here here, thanks in advance
Abdul Rafay's user avatar
0 votes
1 answer
744 views

Magento 1 ACL - access denied even though user has ALL rights (not admin rights)

I added a new user which has ALL rights. However, he can't open the site in admin under Catalog -> Manage Attachments. URL: /fileuploader/adminhtml_fileuploader/index/key/ I already logged the ...
Black's user avatar
  • 3,150
1 vote
2 answers
433 views

Magento 2 Advanced Reporting User Role permissions

I have enabled Advanced Reporting (Magento 2's free one) in the back end, and from my main admin back end account, it is working fine, the subscription is set up and figures are updated daily. I have ...
Jaimie Dijstra's user avatar
0 votes
0 answers
141 views

Magento 1.9 : How can I add a button in admin role edit form?

I need a custom functionality "Duplicate Role" in Admin > System > Permissions > Roles > Edit. How can I add an extra button in this form? Any help will be appreciated. Thanks in advance.
Radhu's user avatar
  • 159
0 votes
1 answer
581 views

Hide order export button for all admin users except admin role

I want to hide or remove Export button from custom admin grid for all admin user except admin role. I have added below code to add export button on the grid in my ui component file. <exportButton ...
Balwant Singh's user avatar
2 votes
0 answers
28 views

How to add custom config in custom module to role user admin in magento 1

I created a module and use it in the config, but when set role user, it does not show, please help me!
TN98's user avatar
  • 923
2 votes
1 answer
215 views

How to restrict user account based on website?

How to restrict user account based on website? How to create website wise user account in magento 1.9.2.3?
zus's user avatar
  • 155
0 votes
1 answer
553 views

Magento2: In which table Resource Access dropdown (tree-resources-container) is saved?

public function getRules() { $resoId = 'Mageants_AdvancedPermissions::catalog_attributes'; $permission = 'allow'; $rid = $this->_adminSession->getUser()->getRole()->getData('...
milan's user avatar
  • 51
0 votes
0 answers
138 views

Remove "delete product" option for user role

I have a custom user in my magento store backend. I want to restrict him from deleting any products, just add/edit what is already there.
davidelias16's user avatar
1 vote
0 answers
132 views

Magento user permission unchecked on save custom module

I've developed a small custom module. It worked as expected but I can't save user permission: I can see the module in the admin panel and in the Role Resource Tab (System->Permissions->Roles), but ...
user80390's user avatar
1 vote
1 answer
139 views

How to create Admin-User for (Role) specific category-only access in magento2, It Possible or Not?

I have Created two-stores, And I have Add two Root-Category , But I Need to Create Two AdminUser for make(Role to) access for specific one-Store Category. Example (AdminUser A)-> Specific access ...
manoji's user avatar
  • 175
0 votes
0 answers
210 views

Sales order grid not loading for restricted roles in magento2

I have created a new resource with limited access for only dashboard and sales. System >> User Roles then created the new user and assigned the above Role. If i login with the new user which is ...
Jafar Pinjar's user avatar
  • 1,929
0 votes
0 answers
241 views

Magento2.2 change admin user roles cant login

I have problem when change roles, all account of that roles can't access admin. Step 1. User 1 will login as "CM" roles Step 2. User 2 will update the resources available to role "CM" Step 3. User 1 ...
the light's user avatar
  • 708
1 vote
0 answers
474 views

Sales orders not showing for new Admin user in magento2

I have created new User here System -> Permission Assigned User Role as Administrator But when logged in with the new user which i created now, I can't see the orders for the newly created admin ...
Jafar Pinjar's user avatar
  • 1,929
1 vote
1 answer
53 views

User role not working M2 Enterprse

My website has many store view like french,uk,german. I have created user for all the store view and assign resources to them. But when I login in admin panel with german user, I can see all the ...
Daniel_12's user avatar
  • 670
0 votes
1 answer
2k views

How to add new field to Admin User Info in Magento 2?

How can I add a new field which has an integer value into admin user info? I want to add a dropdown on admin user edit form, to select any one admin user which has 'ABC' role, and that will be saved ...
Utsav Gupta's user avatar
  • 1,243
1 vote
0 answers
390 views

ACL Resources Access Customization and Admin form customization

I am new to magento so can somebody please help me out? I have created a new user (belonging to custom role group = vendor) who can login to admin panel and add their own products, for that i have ...
Vivek Jadaun's user avatar
1 vote
0 answers
331 views

Issue with User Role Resources Tree

I have to get helped in some parts of my website with a friend who is a developer, so he asked me the access to the backend. Being that I don't want to give the full access, I have created a new user ...
myrdipiombo's user avatar
0 votes
1 answer
1k views

Magento 2.3.0 - User roles and Permissions - module/extension installation issue

I'm running magento 2.3.0 on php 7.1 I have two users each with a different user role/permissions created Users | User Role | Role Resources (resource access) ----------|--------------|-------...
user2240778's user avatar
1 vote
1 answer
432 views

Activity Approve From super admin in magento 2

I am using Magento 2.2.6, and I need to create two admin user, in which one user change anything, it should be mandatory for another user will approve that. then only the changes will affect. I saw ...
sam's user avatar
  • 479
1 vote
7 answers
9k views

Sorry, you need permissions to view this content

I have created a admin user by below command. php bin/magento admin:user:create --admin-user="admin1" --admin-password="admin@123" --admin-email="admi[email protected]" --admin-firstname="fname" --admin-...
user7064432's user avatar
3 votes
2 answers
4k views

How to Reset Magento Admin Permission

Admin role have no permissions, when I log in I just see only a extensions. How to reset permission in database MAGENTO 2 version?
EK.'s user avatar
  • 81
1 vote
1 answer
1k views

Magento 2 - Getting user role

I would like to get the Role of the user logged in. I'm trying to use the \vendor\magento\module-user\Model\User.php class, but all results give me null or empty. I'm trying to use \vendor\magento\...
Raül's user avatar
  • 790
0 votes
1 answer
223 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 ...
Mahmood Rehman's user avatar
0 votes
1 answer
1k views

how could i get all user role list in edit page in my custom module in magento 2

I want to show user role list in my custom module edit page my code is as below $fieldset->addField( 'admin_role_ids', 'multiselect', [ 'name' => 'permission[...
Shubhajay Das's user avatar
1 vote
0 answers
56 views

Magento 2.2.5 - Backups User Roles Permission

I'm using Magento 2.2.5. Steps to reproduce: System -> Permission -> User Roles Backups Sorry, you need permissions to view this content How to fix it?
niceonelee's user avatar
3 votes
1 answer
934 views

Mass action tree drop down issue in magento2

I am trying to create a custom drop down option in Action section in the sales order Grid. The main gold is to bring custom Option(Assign to User) in Action Drop down. Then once Assign to user is ...
Jafar Pinjar's user avatar
  • 1,929
1 vote
0 answers
60 views

How to create admin user with only read customer permissions in Magento-2.1?

I have created one admin role with Customers/All Customers. This user have permissions for access customers,modify customer details, delete customer. But I want to restrict this user to delete ...
Lovely Setia's user avatar