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
18 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
16 views

hide a form attribute for a specific role in magento 2

in my case i want to hide an attribute's form for a specific role of users for example the role is = 'userrole1', this is the form attribute : <div class="admin__field" data-bind="css: $data....
0
votes
0answers
7 views

get resource_id of the logged in admin user programatically in magento 2

I want to check if the current logged in user has the administrator role. For that, I want to get the value of resource_id in authorization_rule table for the current logged in admin user. Note:...
1
vote
0answers
27 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 ...
0
votes
1answer
28 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.
0
votes
0answers
22 views

Getting error after backend user role assigned to Sales order in Magento 2.3.2

I am facing error in sales order view screen after backend user role assign -> sales I have disallowed only Sales shipment for user role. Something went wrong with processing the default view and ...
0
votes
0answers
17 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) -&...
1
vote
1answer
38 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 ...
0
votes
0answers
58 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
0
votes
1answer
153 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 ...
0
votes
0answers
86 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
53 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
77 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
22 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
50 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
1answer
74 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
47 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
35 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
53 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
41 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
96 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
219 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
40 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
489 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
247 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
148 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
426 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
153 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
4answers
2k 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-...
2
votes
1answer
763 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
527 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
148 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
432 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
31 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
23 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
99 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
237 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
213 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
122 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
445 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 ...
1
vote
1answer
538 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
184 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
112 views

Magento 2 Particular order assign to sub-admin [closed]

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
79 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
189 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
101 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
846 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
775 views

Allow edit product attributes on user permission [closed]

I need my users not able to edit attributes, but they can view the attributes.