Author Topic: Is it possible to create custom admin logins?  (Read 2758 times)

TomFrom

  • Jr. Member
  • **
  • Posts: 52
Is it possible to create custom admin logins?
« on: May 06, 2010, 17:05:04 pm »
I have been looking into the virtuemart software to use with joomla! and need to know if its possible to create admin accounts for my staff to log into where they can access the orders section of the admin area but not access any other area within the back end of virtuemart.

Im new to joomla! and as fas as i can understand, creating a back end account for joomla! allowes the users to access any of the plugins and all of its features.

Is it possible to create an account where they can only access the orders section to process the orders but not have any access to what products and categories etc are on there etc?

Thanks!

Tom

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28458
  • Always on vacation
    • Jenkin Hill Internet
Re: Is it possible to create custom admin logins?
« Reply #1 on: May 07, 2010, 09:01:35 am »
It is possible to use VM module permissions to control storeadmin access level, although I have no experience of trying this.

http://virtuemart.net/documentation/User_Manual/VirtueMart_Core_Modules.html

Make a copy of existing permissions if you intend testing the effect of permissions.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.0.12 10777  J 3.10.11 PHP 7.4.30

rb

  • Advanced
  • Full Member
  • *****
  • Posts: 1503
Re: Is it possible to create custom admin logins?
« Reply #2 on: May 08, 2010, 16:57:07 pm »
Creating an account for Staff that only allows access to Orders:

 1. Create the account as a normal VM front-end user (registered)
 2. Go to Admin->Users and select the new user
 3. Click on the "Shopper Information" tab
 4. Set the Permissions dropdown to "storeadmin"
 5. Save
 6. In the left menu, go to Admin->List Modules
 7. As Kelvyn says above, copy your existing permissions.
 8. In the column labeled "storeadmin", only check "store", "order" and "account" (all others should be unchecked).
 9. Click the "Save Permissions" link.
10. In the row labeled "Store", click the "Function List" link.
11. As Kelvyn says above, copy your existing permissions.
12. In the "storeadmin" column, uncheck all functions.
13. Click the "Save Permissions" link.
14. Go to Extensions->Module Manager
15. Select the login module you're using (usually either mod_virtuemart or mod_virtuemart_login)
16. Enable "Show Account Maintenance Link" or "Show Administration Link" (the wording is different in the 2 modules)
17. Save

Now, when a staff person logs in to the front-end with this new ID, they will be shown an extra menu item labeled Admin.  When they click it, they are taken to the VM Admin area, but with a limited menu.  They don't even see any of the Joomla admin functions.  They will see some functions that you may not want them to see, but if they click them, they will not have permission to make changes.  They will, however, be able to view and update all Orders.

TomFrom

  • Jr. Member
  • **
  • Posts: 52
Re: Is it possible to create custom admin logins?
« Reply #3 on: May 11, 2010, 00:19:52 am »
Hey guys, thanks for the reply.

ive set everthing up like stated in the list above, all seems to be correct appart from i cant find the admin link in the menu.

This is a fresh install of joomla and virtuemart. ive uploaded the main virtuemart extention and the mod_virtuemart_login1.1.4 into joomla. ive also deleted the content joomla installes its self to help me get a clear setup, im new to joomla and vm so im still trying to get my head around it all.

i can follow the instructions perfectly but just cant find the admin link in any menu's, any ideas? is there a way i can create the link?

Thanks for your help guys its really appreciated =)

TomFrom

  • Jr. Member
  • **
  • Posts: 52
Re: Is it possible to create custom admin logins?
« Reply #4 on: May 11, 2010, 00:31:17 am »
just to add, in configuration > security, i have 'Allow Frontend-Administration for non-Backend Users?' ticked

Ive discovered that if i paste the URL into my browser - the /administrator/ i get the login page that works to view the edited version just as i need to.

is there any way i can put the link into the site as it should be though? i dont know how i can make it only show up when only that specific user account set to storeadmin logs into the system.

rb

  • Advanced
  • Full Member
  • *****
  • Posts: 1503
Re: Is it possible to create custom admin logins?
« Reply #5 on: May 11, 2010, 02:33:06 am »
Are either "mod_virtuemart" or "mod_virtuemart_login" enabled and do they show the login form on the front end and have you logged in to them with this new id you've set up?

hartlandwintertrails

  • Beginner
  • *
  • Posts: 7
  • A beginner
Re: Is it possible to create custom admin logins?
« Reply #6 on: December 21, 2022, 22:20:12 pm »
rb,

I would like to set up a user with access to process orders, as did TomFrom.  In the intervening 12 years, there seem to be a lot of differences between your steps and what I see on my web site.  It is difficult to follow the steps.  Can you update the steps in your May 08, 2010, 16:57:07 pm post for J! v4.2.6 and VM v4.0.12?  Or, is there a better way to do this now?

Thanks you.

-Gary

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28458
  • Always on vacation
    • Jenkin Hill Internet
Re: Is it possible to create custom admin logins?
« Reply #7 on: December 22, 2022, 12:12:00 pm »
Gary, there are many problems replying to very old threads. In this case it is 8 years since rb visited this forum....
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.0.12 10777  J 3.10.11 PHP 7.4.30