Questions tagged [admin-user]
The admin-user tag has no usage guidance.
77
questions
9
votes
7answers
10k views
Magento 2.3.2 Undefined offset Encryptor.php
Magento 2.3.2 community edition
Nginx 1.16
PHP 7.2.19
Steps to reproduce (*)
1.login magento store admin
{"0":"Notice: Undefined offset: 2 in
/www/web/demo/vendor/magento/framework/Encryption/...
1
vote
1answer
869 views
Magento 2 - how to create a new tab in admin user edit page?
I want to create a new tab under User Role tab.
Can anyone help me on how to create those types of tab in admin panel. Please !!
1
vote
1answer
3k views
How to know Admin user password in Magento 1.9
I have many admin users in my magento backend. I want to know one particular user's password, but password stored like below image.
How to know that user's password without reset password.
Is there ...
1
vote
1answer
2k 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
895 views
Show only Specific Order Status by user in magento 2
I need to show only pending order by users I follow this link
They used sales_order_grid_collection_load_before in magento 1, what exact event in magento 2
and
How to Collect only pending Orders ...
0
votes
0answers
29 views
custom module menu not showing for admin & admin users in magento 2
My custom module's admin menu not showing for admin & custom admin users. Here is the code snippet:
acl.xml
<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/...
0
votes
3answers
38 views
Magento 2 How to save data to custom column in “admin_user” table
Hi Here I have created a extra column school in the table Admin_user. While I trying to update or save it inside a "PLUGIN" its giving me error.
Here is my Plugin code
class Adminsave
{
...
0
votes
1answer
50 views
I want to show the admin user on, change order status in bulk or single order
I want to show the admin user name on change order status in order comment history in bulk or single order, using a single event or plugin
Magento 2.3.5p1 Community edition
Any help highly ...
0
votes
1answer
12 views
adding extra column to the admin user table magento 1.9
I am tring to add new column to the magento admin user by scripting and manually also both are not working, when i try to add manually it is giving the error "Invalid default value for created&...
0
votes
1answer
25 views
how to add extra column in magento admin user
I want to add extra column in magebto admin user, how can i add.
I need to add phone number for the admin users how can i add?
I added like this in /app/code/core/Mage/Adminhtml/Block/Api/User/Grid....
1
vote
0answers
12 views
How to create user for special website level magento2?
Is there an option to create a user for a particular website when there is several website and store ?
Thanks
0
votes
0answers
14 views
User Access permission
I am developing a Store in Magento 2. I created an Admin Account at the time of installation of Magento 2. Later I tried to create another User (Who can only Use the help desk) from Admin Panel. The ...
0
votes
0answers
12 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
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-...
0
votes
0answers
30 views
Magento 2 : Custom file attribute to admin user not saving file
i have created 2 attributes to admin used 1: simple input 2: file upload.
simple input is working fine but for file one i am unable to save file in folder where as i can see file name in database
...
0
votes
0answers
32 views
How to check admin user logged on front side in Magento 2?
Like title, I want check admin user logged in front end.
In a browser, if admin user logged then customer can't login.
All help would be much appreciated. Thanks in advance.
0
votes
2answers
237 views
How to change custom UI grid collection based on custom attribute value in magento 2
I have created custom field in admin user creation form.Based on the value in this field,My custom module grid collection will be loaded.How to acheive this?
0
votes
1answer
440 views
Magento2 - How to save custom field under admin_user table in database?
I have created a custom field in admin user creation form ,how to save that field in admin_user table in Magento2?
0
votes
2answers
46 views
SQL Insert error [SQLSate[4200]
We are using an extension called Mass Product Import & Update. My colleague gets SQL error when he is trying to upload a CSV file to add/update products/group products in this extension, but I ...
1
vote
1answer
1k views
UI Component Listing - transform user ID to the user name
I've created a model management pages in admin by UI Component. When saving this model, the controller will save the user id of creator to the table then show this on the model listing page. It is ...
2
votes
3answers
3k views
Can't login to admin panel in Magento 2
I get the error 'You did not sign in correctly or your account is temporarily disabled'.
I've already run:
php bin/magento admin:user:unlock vixent
or modified the password in database:
UPDATE ...
0
votes
0answers
13 views
Magento 1 : Is it possible restrict admin user view only selected store details by using observer or anything?
How can i restrict admin user view only selected store details by using observer or anything?
0
votes
0answers
56 views
Magento 1.9 - Multi-Website Sales Order View Restrict based Admin-User
I am running Multi-website.
I have two stores for my two vendors both of my vendors are my admin users, [system->permission->users]. If vendor-1 login to admin panel they also able to view ...
0
votes
1answer
157 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 ...
9
votes
4answers
6k views
Create an admin user programmatically in Magento 2.0
It is simple to add new admin user in Magento 1.9
<?php
require_once('app/Mage.php');
umask(0);
Mage::app();
$user = Mage::getModel('admin/user')
->setData(array(
'username' =>...
2
votes
2answers
262 views
how i can get the column value of admin user table in magento 2
Hi I have created a new column in the admin users table
using this answers Magento2: How to add new column in admin_user table?
Now I want to get the column value when admin user logged in
How i can ...
1
vote
1answer
306 views
Create admin role and user by installer
I want to create admin role and assign a user to it with only sales and catalog resources by installer is any one having idea for this.
12
votes
3answers
20k views
Magento 2: How to get current admin user detail?
How to get the current admin user detail in back-end ?
0
votes
1answer
212 views
Magento2: How to add new column in admin_user table?
How to add a new column in admin_user table Magento 2 ?
0
votes
1answer
110 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
1answer
594 views
How to programmatically login an admin user?
I am on Magento 2.3.1 and I am trying to login an admin user automatically given their username. I have tried using the Magento\Backend\Model\Auth\Session class like this:
$this->_authSession->...
1
vote
1answer
62 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 ...
2
votes
1answer
236 views
Magento 2 - On save user insert to other table on database
I created a new tab on User edit, with a form
I want to save the data getting from the form the other table on Database (Ex: test_table) when I click on save user button, is there any method to do ...
1
vote
0answers
309 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
0answers
180 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
0answers
64 views
Magento 2: Can't access admin panel after changing user account
I get an error that the enter key 0 in admin_session is duplicated. So I just created a new user account and when I try to connect to panel admin with the new account I get this error
I am really ...
0
votes
1answer
37 views
someone hacked us, I deleted that user acc. & created a new one but now missing most menus in Admin
Magento 1.9.1
Porto theme
Someone hacked our Magento, deleted all user accounts and created one for themselves with a user ID = shopmanager1. I connected via cPanel's phpmyAdmin, deleted their user ...
0
votes
1answer
82 views
EMERGENCY - unable to login to Admin panel; also - no users listed in database
Magento 1.9.1
Porto theme
I have had a problem twice before where I could not log into the Magento Admin panel with my user name and password. I had to use code in the mySQL to change the password ...
0
votes
1answer
315 views
Magento 2 User Admin image upload $_FILES empty
I'am trying to add a field to upload image for specific user. I add field but problem is when I try save User. Image isn't uploaded and I got exception that $_FILES is empty. I followed these ...
1
vote
0answers
103 views
Magento 1.9.3.9 PayFlow API - Multiple Issues
I can't find a solution to this anywhere so I'm posting the very strange issues I'm having, in hopes that someone has an answer.
I've been going back and forth with PayPal support because I keep ...
1
vote
1answer
999 views
Magento2 Api Get Admin User Details Inside Magento
I'm making a call to Magento API and I need to save the current admin id
POST /rest/V1/precart/create HTTP/1.1
Host: magento2.local
Content-Type: application/json
Authorization: Bearer ...
1
vote
1answer
498 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
votes
1answer
325 views
How to create magento 2 admin user from the root folder?
I want to create admin user from the root directory as it can be done in magento-1.9 ,
Is it possible? How can I create a new admin user without CLI (SSH) and database?
0
votes
1answer
95 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
34 views
Magento User Name and Password are visible in browser network
I don't know it's normal or what but recently I found that we can see the entered admin username and password in the browser network
0
votes
2answers
949 views
Allow edit product attributes on user permission [closed]
I need my users not able to edit attributes, but they can view the attributes.
1
vote
1answer
304 views
Magento 2: How to terminate other admin session in backend?
How to terminate other administrator session in back-end
2
votes
1answer
213 views
I want to create custom field in 'add new user' form of admin panel in magento 1.9
I am creating sub admin users from Magento Admin Panel (System->Permissions->Users->Add New User). Here I want to add 1 custom field to save mobile number of each sub admin. I searched it but I didn't ...
2
votes
1answer
126 views
How to add mobile number of admin in magento 1.9
By default when we create new admin user, it has the fields for Username, First Name, Last Name, Email id, Password, etc.
I want to create new field to save mobile number of all admin users and want ...
1
vote
0answers
242 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