Questions tagged [user-roles]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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 ...
0
votes
0answers
26 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.
0
votes
1answer
23 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 ...
2
votes
0answers
20 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!
2
votes
1answer
40 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?
0
votes
0answers
11 views

User role showing unkonwn tree

We have an M2 site and checked the user role, it showing unknown data in the user roles section. For the admin it working properly but in custom resource, it showing un-relevant data. anyone, please ...
0
votes
1answer
34 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('...
0
votes
0answers
19 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.
1
vote
0answers
31 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 ...
1
vote
1answer
36 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 ...
0
votes
0answers
21 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 ...
0
votes
0answers
41 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 ...
1
vote
0answers
108 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 ...
1
vote
1answer
36 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 ...
0
votes
1answer
100 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 ...
1
vote
0answers
192 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 ...
1
vote
0answers
47 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 ...
0
votes
1answer
230 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) ----------|--------------|-------...
1
vote
1answer
92 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 ...
1
vote
2answers
843 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="admin1@gmail.com" --admin-firstname="fname" --admin-...
1
vote
1answer
275 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?
1
vote
1answer
330 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\...
0
votes
1answer
110 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
261 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[...
1
vote
0answers
30 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?
1
vote
0answers
20 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 ...
0
votes
1answer
52 views

Magento 2 assigning Custom User resources in User roles

When I am trying to create a new User role. After selecting the Custom resource List is Not showing, Can u Please help me how I can do this. I what to Create a login for Product Manager to Upload ...
1
vote
0answers
173 views

Backend user role not working - Magento 2.1.9

We can access System>User Role without further problems: but when we get into any option, either the "Add new Role" or the users "Administrators" or "Dealer" we get this blank form: instead of ...
0
votes
0answers
135 views

Restrict the role permission to read only

I have built my Magento store with the Magento - 1.9.X.X I am trying to create a role with just read-only permissions to all the modules in the admin end. The user should be able to view all the ...
0
votes
0answers
77 views

Magento 2 Permissions messed up

I have got myself into a bit of a pickle managing a magento site for a new business venture. I am pretty out of my depth and am very much a beginner in command line and server management. I have a ...
1
vote
1answer
344 views

Magento 2 User Permission Denied for Admin user

I was creating user roles & permission as an admin in Magento 2, then I mistakenly denied myself permission to add roles and permission. Now It's showing "Access denied". I can't add or change my ...
0
votes
1answer
314 views

Can i create Role for only read permissions of product in magento 2 admin panel

I want to create admin user who is access only read the products in magento 2. Can i create Role for only read permissions of product in magento 2 admin panel.
1
vote
0answers
98 views

How can a role user see only own products not other users in Magento 2?

I am troubling with user roles in Magento 2. When I am trying to assign product permission to a user who can see only own products but all products displaying to him. How can I set a role in which ...
1
vote
0answers
80 views

Magento 2 Particular order assign to sub-admin

Right now I am working with Magento 2 package, there has one out-of-scope Magento task. => Requirement: Customer Place order Admin create sub-admins The super-admin assign the order to sub-admin( ...
0
votes
1answer
22 views

Roles Resources | What is “My Account” for

I found this in the role resources but am not sure what it is responsible for. Enabling and disabling this seems to make no difference. Can someone shine some light on it? Magento ver. 2.1.8
0
votes
1answer
57 views

Admin role automatically unchecked when role is edited Magento 1.9

I have a problem on my Magento webiste and I can't figure why is this happened. I have 2 admin roles: administrator and shopmanager. Administrator role has all the permissions and shopmanager has ...
0
votes
1answer
153 views

How to disable a product using Id in phtml?

I need to disable a product which is added by specific role. My code below: $role_id = 1 ; //get user's role id from system configuration $objectManager = \Magento\Framework\App\ObjectManager:...
1
vote
0answers
75 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
552 views

How to check if user is logged into the admin [duplicate]

I'm trying to create a script then trigger it from time to time to check "who" is logged in in admin (users), so I created this: $adminUser = Mage::getModel('admin/user'); $users = $adminUser->...
0
votes
2answers
449 views

Allow edit product attributes on user permission [closed]

I need my users not able to edit attributes, but they can view the attributes.
2
votes
3answers
1k views

List all user email ids based on role_name in magento 2?

In Magento 2, We want to list all user email id's by using their role_name. How we can achieve in one collection with optimal way? Thanks!
1
vote
1answer
386 views

How to set 2 different themes for Mobile and Desktop in Magento 2.1.7 without changing the core file

I am working on Magento store version 2.1. I'm required to show a different layout and design on the Mobile device, which is different from my default view. For this I added a theme in the root ...
1
vote
1answer
1k 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.
1
vote
0answers
221 views

Undefined index notice error when trying to add a new user role in magento 2?

I am getting a error "Undefined index: title in \vendor\magento\module-integration\Helper\Data.php on line 24" in magento 2 when trying to add a new user role. please help me
1
vote
1answer
2k views

How to disable product edit fields based on admin role in magento 2

I need to create one admin account for seo editer. This user only edit seo fields in Product edit form and category edit form Default magento 2 Only disable menus, not a fields, I enabled only ...
0
votes
1answer
330 views

Hide attribute menu for admin role

I make a user role that needs to create a configurable product, to do this I need to give him the ACL for Store/Attribute/product. But I don't want to let him create / add / delete an attribute, so ...
3
votes
0answers
1k views

How to restrict access to user for particular store in Magento 2?

I have a requirement where multiple stores are created under one website. Now, I want to create role so that role has access only to the particular store. For e.g. If there is role Dell Manager so ...
0
votes
1answer
63 views

How to restrict admin user to log in if already any user logged in

I know about the feature of Admin Account Sharing of magento2. Using this feature if someone login to admin panel from another device then already logged in user get expired session error and logged ...
1
vote
0answers
83 views

How can I add to user a products roles?

I created a user, and I can't add any role to him.. I want to add this roles to my user... my code is below... and when I save the user and the role, I don't see this green "V" on my role.. I just ...
1
vote
1answer
293 views

How do I create a user in the backend and allow them to only view?

They are allowed to view everything but not edit anything... Is this possible? Here's what the function looks like now, perhaps i did something wrong? public function preDispatch() { // ...