changed group detection to right detection

Note: the same right is added to more groups in CommonSettings (staff, vstf & global-bot)