Hello,
I was wondering if it is possible to have the system check if the pilot is, for example, a Senior Pilot, before allowing him to access a content.
I am looking for a modification for this, maybe:
if(Auth::LoggedIn())
{
if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))
{
echo '<a href="'.fileurl('/admin').'">Admin Center</a>';
}
}
Many Thanks!