I have searched through forum and couldn't find answer to simple thing that I am trying to accompish
I created a new group under "Public" group and I provided that user a permission of "Administrator Login" in global configuration. User can login fine in Admin panel but In one of my system plugin, I want to check if the user has access to the backend. How can I accomplish that?
I tried following:
$user = JFactory::getUser();
$isroot = $user->authorise('core.admin');
but looks like that only detects if user is a super admin. My user with a special group permission by no means is a super user.
I will apreciate if someone can guide me in a right direction.
Thanks