Support

Admin Tools

#23128 Block regular administrators from front end login

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 19 August 2015 02:15 CDT

user68569
 Hello,

I would like to know if there is a way or mod that can be done that would block site administrators (not just super users) from logging in the front-end of the site.

The reason is that they have permission to update the site from the back end but I don't want them to accidentally do edits on the front end by mistake.

Is there a way to block their log in on the front end or another way to prevent front end editing without affecting their ability to do back end editing?

Thanks in advance.
Shane

nicholas
Akeeba Staff
Manager
Yes, it's built into Joomla! itself :) System, Global Configuration, Permissions. Find the user group (e.g. Administrator) and set Site Login to Denied.

Do note that if a user belongs to at least one group with Site Login set to Denied they will NOT be able to log in to the site no matter what, not even if they also belong to another group which has the same privilege set to Allowed. Moreover, all child user groups of the one you modify will also be denied front-end login and you cannot override it by setting the privilege to Allowed. Since you're modifying the Administrator group this is not a problem but it's worth keeping it in mind!

Finally, this trick does not apply to Super Users because they have the "Super User" privilege. The Super User privilege is magic. If you are allowed to it then ALL other permissions are always "Allowed", no matter what the system administrator has set them to. It's "God Mode". That's why Admin Tools has a feature to prevent Super Users from logging in the front-end: Joomla! itself does not allow you to prevent it.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user68569
Thank you so much for the detailed reply. That did the trick. I had a feeling there was a setting for that but I wasn't sure.

I appreciate your help. Have a great day.

nicholas
Akeeba Staff
Manager
You're welcome :) Have a good day!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!