Customizing magento admin backend depends up in admin user login - user-interface

When a admin user login how to change the admin UI depends up on the user role, I need to change the admin UI and additional elements to it after login of particular admin user, is it possible to change the admin html UI ?

Just check in admin
Mage::getSingleton('admin/session')->getUser()->getRole()
Depending on this you can customize.

Related

Create Roles and Users in magento but as a non admin

My client wants the access to create users and roles in magento, i have already given him a limited users created by myself, in that users there is not permission to add users and roles.
My question: Is there any way i can give him permissions to add users and roles but, all the menus that i have made hidden should stay hidden.
What i Want to achieve
I want to give access of creating roles and users to my client, but i don't to revel some menu like "System" to him
In Magento 1.X:
System->Permission->Roles->(Role Name)->Roles Resources->Custom
In Magneto 2.X:
System->User Roles->(Role Name)->Roles Resources->Custom
To give the access for "Roles and User" you have to reveal the
"system" menu to the user as it's the parent of "Roles and User". But, you can disable other inner menus by unchecking them.
You have to only check the System > Permission > Roles > User Bosex from Roles Resouce Tree and it will only allow the user to access the Roles and User.

admin panel setup for mean stack app

I am building an e-commerce website which will require continuous updation of products, so for that I need t setup admin panel for the website. My app is based on MEAN stack. Now, I am confused on how to handle session for admin panel and website and also how to configure the admin panel. My application is almost ready only admin panel is left.
Do I need to handle sessions separately for admin panel and website and if yes how ? Currently I am using node-passport for sessions.
how can I use subdomain to open admin panel, for eg. I have a domain called www.abc.com, Now I want to use admin.abc.com and in that case I want to redirect user to the admin panel. How can I create sub domain ? and How can I handle this in my MEAN app ?

How do I permit only one particular user to login to active admin?

I have a application that have a lot of users and among them only one is super user. I want to use this super user account to use active admin and other users will use my custom admin dashboard.
You can have a boolean "admin" attribute on your users and then check for that attribute using a custom AuthorizationAdapter.
Check this part of the documentation for further information: http://activeadmin.info/docs/13-authorization-adapter.html

Enable / Disable all controls on view/page in asp.net mvc based on role or access

I am creating a asp.net mvc 4 website.
Requirement is -
There are roles given for each user for this site.
Also there is table specifying which all tabs/views a role can have access to.
Based on user's role & view/page he/she is visiting, disable or enable all controls on that view/page.
Eg.
User with Account role don't have access to Search & View page. For this user these 2 pages should show all controls in disabled state.
User with Admin role have access to Search & View page. For this user these 2 pages should show all controls in enabled state.
Any solution for this?

Magento: Login to frontend with admin credentials

Is there any way provided by Magento to login to frontend with admin credentials. I
I've tried many tutorials and forums but in vain.
Is there any extension available for this? Can we achieve this by custom coding? If yes, How?
You could refer to this anser, about logging in as a frontend user (which creates a convenient shortcut to accomplish the same thing, for your client) : Magento, login as customer from admin
OR
You could use this FREE extension : http://www.magentocommerce.com/magento-connect/login-as-customer-9893.html
Description of what it does:
Features list:
Admin users can login as customers from "customer view" pages in admin
There is an option to allow login as a customer right on the "order view" pages in admin
There is an access control option. Admin can assign to a specific role whether role users can login as customers.
Does not require to setup customer universal password, because password is less secure.
Or, you could download it, look at the approach used in the code and adapt it :)

Resources