ALM-673 changed syntax for admin check